com.sun.xml.bind.api
public final class TypeReference extends Object
Subject to change without notice.
Since: 2.0 EA1
| Field Summary | |
|---|---|
| Annotation[] | annotations
The annotations associated with the reference of this type.
|
| QName | tagName
The associated XML element name that the JAX-RPC uses with this type reference.
|
| Type | type
The Java type that's being referenced.
|
| Constructor Summary | |
|---|---|
| TypeReference(QName tagName, Type type, Annotation... annotations) | |
| Method Summary | |
|---|---|
| <A extends Annotation> A | get(Class<A> annotationType)
Finds the specified annotation from the array and returns it.
|
| TypeReference | toItemType()
Creates a TypeReference for the item type,
if this TypeReference represents a collection type.
|