|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.api.TypeReference
public final class TypeReference
A reference to a JAXB-bound type.
Subject to change without notice.
| 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 | ||
|---|---|---|
boolean |
equals(Object o)
|
|
|
get(Class<A> annotationType)
Finds the specified annotation from the array and returns it. |
|
int |
hashCode()
|
|
TypeReference |
toItemType()
Creates a TypeReference for the item type,
if this TypeReference represents a collection type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final QName tagName
public final Type type
public final Annotation[] annotations
| Constructor Detail |
|---|
public TypeReference(QName tagName,
Type type,
Annotation... annotations)
| Method Detail |
|---|
public <A extends Annotation> A get(Class<A> annotationType)
public TypeReference toItemType()
TypeReference for the item type,
if this TypeReference represents a collection type.
Otherwise returns an identical type.
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||