| java.lang.Object com.sun.xml.bind.api.TypeReference
TypeReference | final public class TypeReference (Code) | | A reference to a JAXB-bound type.
Subject to change without notice.
since: 2.0 EA1 author: Kohsuke Kawaguchi |
Field Summary | |
final public Annotation[] | annotations The annotations associated with the reference of this type. | final public QName | tagName The associated XML element name that the JAX-RPC uses with this type reference.
Always non-null. | final public Type | type The Java type that's being referenced. |
annotations | final public Annotation[] annotations(Code) | | The annotations associated with the reference of this type.
Always non-null.
|
tagName | final public QName tagName(Code) | | The associated XML element name that the JAX-RPC uses with this type reference.
Always non-null. Strings are interned.
|
type | final public Type type(Code) | | The Java type that's being referenced.
Always non-null.
|
get | public A get(Class<A> annotationType)(Code) | | Finds the specified annotation from the array and returns it.
Null if not found.
|
|
|