|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.spi.db.TypeInfo
public final class TypeInfo
A reference to a JAXB-bound type.
Subject to change without notice.
| Field Summary | |
|---|---|
java.lang.annotation.Annotation[] |
annotations
The annotations associated with the reference of this type. |
javax.xml.namespace.QName |
tagName
The associated XML element name that the JAX-RPC uses with this type reference. |
java.lang.reflect.Type |
type
The Java type that's being referenced. |
| Constructor Summary | |
|---|---|
TypeInfo(javax.xml.namespace.QName tagName,
java.lang.reflect.Type type,
java.lang.annotation.Annotation... annotations)
|
|
| Method Summary | ||
|---|---|---|
|
get(java.lang.Class<A> annotationType)
Finds the specified annotation from the array and returns it. |
|
java.lang.reflect.Type |
getGenericType()
|
|
TypeInfo |
getItemType()
|
|
TypeInfo |
getParentCollectionType()
|
|
boolean |
isGlobalElement()
|
|
boolean |
isNillable()
|
|
boolean |
isRepeatedElement()
|
|
java.util.Map<java.lang.String,java.lang.Object> |
properties()
|
|
void |
setGenericType(java.lang.reflect.Type genericType)
|
|
void |
setGlobalElement(boolean isGlobalElement)
|
|
void |
setNillable(boolean nillable)
|
|
void |
setParentCollectionType(TypeInfo parentCollectionType)
|
|
TypeInfo |
toItemType()
Creates a TypeInfo for the item type,
if this TypeInfo represents a collection type. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final javax.xml.namespace.QName tagName
public java.lang.reflect.Type type
public final java.lang.annotation.Annotation[] annotations
| Constructor Detail |
|---|
public TypeInfo(javax.xml.namespace.QName tagName,
java.lang.reflect.Type type,
java.lang.annotation.Annotation... annotations)
| Method Detail |
|---|
public <A extends java.lang.annotation.Annotation> A get(java.lang.Class<A> annotationType)
public TypeInfo toItemType()
TypeInfo for the item type,
if this TypeInfo represents a collection type.
Otherwise returns an identical type.
public java.util.Map<java.lang.String,java.lang.Object> properties()
public boolean isGlobalElement()
public void setGlobalElement(boolean isGlobalElement)
public TypeInfo getParentCollectionType()
public void setParentCollectionType(TypeInfo parentCollectionType)
public boolean isRepeatedElement()
public java.lang.reflect.Type getGenericType()
public void setGenericType(java.lang.reflect.Type genericType)
public boolean isNillable()
public void setNillable(boolean nillable)
public java.lang.String toString()
toString in class java.lang.Objectpublic TypeInfo getItemType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||