com.sun.xml.bind.v2.model.runtime
Interface RuntimeTypeInfoSet

All Superinterfaces:
TypeInfoSet<Type,Class,Field,Method>
All Known Implementing Classes:
RuntimeTypeInfoSetImpl

public interface RuntimeTypeInfoSet
extends TypeInfoSet<Type,Class,Field,Method>

TypeInfoSet refined for runtime.


Method Summary
 Map<Class,? extends RuntimeArrayInfo> arrays()
          Returns all the ArrayInfos known to this set.
 Map<Class,? extends RuntimeClassInfo> beans()
          Returns all the ClassInfos known to this set.
 Map<Type,? extends RuntimeBuiltinLeafInfo> builtins()
          Returns all the BuiltinLeafInfos known to this set.
 Map<Class,? extends RuntimeEnumLeafInfo> enums()
          Returns all the EnumLeafInfos known to this set.
 Iterable<? extends RuntimeElementInfo> getAllElements()
          Returns all the ElementInfo known to this set.
 RuntimeNonElement getAnyTypeInfo()
          Gets the TypeInfo for the any type.
 RuntimeNonElement getClassInfo(Class type)
          Returns a ClassInfo, ArrayInfo, or LeafInfo for the given bean.
 RuntimeElementInfo getElementInfo(Class scope, QName name)
          Returns a ElementInfo for the given element.
 Map<QName,? extends RuntimeElementInfo> getElementMappings(Class scope)
          Returns all ElementInfos in the given scope.
 ReflectionNavigator getNavigator()
          Navigator for this model.
 RuntimeNonElement getTypeInfo(Type type)
          Returns a TypeInfo for the given type.
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfoSet
dump, getAttributeFormDefault, getElementFormDefault, getSchemaLocations, getTypeInfo, getXmlNs
 

Method Detail

arrays

Map<Class,? extends RuntimeArrayInfo> arrays()
Description copied from interface: TypeInfoSet
Returns all the ArrayInfos known to this set.

Specified by:
arrays in interface TypeInfoSet<Type,Class,Field,Method>

beans

Map<Class,? extends RuntimeClassInfo> beans()
Description copied from interface: TypeInfoSet
Returns all the ClassInfos known to this set.

Specified by:
beans in interface TypeInfoSet<Type,Class,Field,Method>

builtins

Map<Type,? extends RuntimeBuiltinLeafInfo> builtins()
Description copied from interface: TypeInfoSet
Returns all the BuiltinLeafInfos known to this set.

Specified by:
builtins in interface TypeInfoSet<Type,Class,Field,Method>

enums

Map<Class,? extends RuntimeEnumLeafInfo> enums()
Description copied from interface: TypeInfoSet
Returns all the EnumLeafInfos known to this set.

Specified by:
enums in interface TypeInfoSet<Type,Class,Field,Method>

getTypeInfo

RuntimeNonElement getTypeInfo(Type type)
Description copied from interface: TypeInfoSet
Returns a TypeInfo for the given type.

Specified by:
getTypeInfo in interface TypeInfoSet<Type,Class,Field,Method>
Returns:
null if the specified type cannot be bound by JAXB, or not known to this set.

getAnyTypeInfo

RuntimeNonElement getAnyTypeInfo()
Description copied from interface: TypeInfoSet
Gets the TypeInfo for the any type.

Specified by:
getAnyTypeInfo in interface TypeInfoSet<Type,Class,Field,Method>

getClassInfo

RuntimeNonElement getClassInfo(Class type)
Description copied from interface: TypeInfoSet
Returns a ClassInfo, ArrayInfo, or LeafInfo for the given bean.

This method is almost like refinement of TypeInfoSet.getTypeInfo(Object) except our C cannot derive from T.

Specified by:
getClassInfo in interface TypeInfoSet<Type,Class,Field,Method>
Returns:
null if the specified type is not bound by JAXB or otherwise unknown to this set.

getElementInfo

RuntimeElementInfo getElementInfo(Class scope,
                                  QName name)
Description copied from interface: TypeInfoSet
Returns a ElementInfo for the given element.

Specified by:
getElementInfo in interface TypeInfoSet<Type,Class,Field,Method>
Parameters:
scope - if null, return the info about a global element. Otherwise return a local element in the given scope if available, then look for a global element next.

getElementMappings

Map<QName,? extends RuntimeElementInfo> getElementMappings(Class scope)
Description copied from interface: TypeInfoSet
Returns all ElementInfos in the given scope.

Specified by:
getElementMappings in interface TypeInfoSet<Type,Class,Field,Method>
Parameters:
scope - if non-null, this method only returns the local element mapping.

getAllElements

Iterable<? extends RuntimeElementInfo> getAllElements()
Description copied from interface: TypeInfoSet
Returns all the ElementInfo known to this set.

Specified by:
getAllElements in interface TypeInfoSet<Type,Class,Field,Method>

getNavigator

ReflectionNavigator getNavigator()
Description copied from interface: TypeInfoSet
Navigator for this model.

Specified by:
getNavigator in interface TypeInfoSet<Type,Class,Field,Method>