com.sun.xml.bind.v2.model.core
Interface TypeInfo<T,C>

All Known Subinterfaces:
ArrayInfo<T,C>, BuiltinLeafInfo<T,C>, CClass, CElement, ClassInfo<T,C>, CNonElement, CTypeInfo, Element<T,C>, ElementInfo<T,C>, EnumLeafInfo<T,C>, LeafInfo<T,C>, MaybeElement<T,C>, NonElement<T,C>, RuntimeArrayInfo, RuntimeBuiltinLeafInfo, RuntimeClassInfo, RuntimeElement, RuntimeElementInfo, RuntimeEnumLeafInfo, RuntimeLeafInfo, RuntimeNonElement, RuntimeTypeInfo, WildcardTypeInfo<T,C>
All Known Implementing Classes:
ArrayInfoImpl, BuiltinLeafInfoImpl, CArrayInfo, CBuiltinLeafInfo, CClassInfo, CClassRef, CElementInfo, CEnumLeafInfo, CWildcardTypeInfo, RuntimeBuiltinLeafInfoImpl

public interface TypeInfo<T,C>

Either ClassInfo, ElementInfo, or LeafInfo.


Method Summary
 boolean canBeReferencedByIDREF()
          True if this type is a valid target from a property annotated with XmlIDREF.
 T getType()
          Gets the underlying Java type that object represents.
 

Method Detail

getType

T getType()
Gets the underlying Java type that object represents.

Returns:
always non-null.

canBeReferencedByIDREF

boolean canBeReferencedByIDREF()
True if this type is a valid target from a property annotated with XmlIDREF.