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

All Superinterfaces:
Locatable
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:
AbstractCElement, AbstractCTypeInfoImpl, AnyTypeImpl, ArrayInfoImpl, BuiltinLeafInfoImpl, CArrayInfo, CBuiltinLeafInfo, CClassInfo, CClassRef, CElementInfo, CEnumLeafInfo, ClassInfoImpl, CWildcardTypeInfo, ElementInfoImpl, EnumLeafInfoImpl, LeafInfoImpl, RuntimeAnyTypeImpl, RuntimeArrayInfoImpl, RuntimeBuiltinLeafInfoImpl, RuntimeClassInfoImpl, RuntimeElementInfoImpl, RuntimeEnumLeafInfoImpl, TypeInfoImpl

public interface TypeInfo<T,C>
extends Locatable

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.
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstream
 

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.