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

All Superinterfaces:
TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>

public interface RuntimeTypeInfoSet
extends TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>

TypeInfoSet refined for runtime.


Method Summary
 java.util.Map<java.lang.Class,? extends RuntimeArrayInfo> arrays()
          Returns all the ArrayInfos known to this set.
 java.util.Map<java.lang.Class,? extends RuntimeClassInfo> beans()
          Returns all the ClassInfos known to this set.
 java.util.Map<java.lang.reflect.Type,? extends RuntimeBuiltinLeafInfo> builtins()
          Returns all the BuiltinLeafInfos known to this set.
 java.util.Map<java.lang.Class,? extends RuntimeEnumLeafInfo> enums()
          Returns all the EnumLeafInfos known to this set.
 java.lang.Iterable<? extends RuntimeElementInfo> getAllElements()
          Returns all the ElementInfo known to this set.
 RuntimeNonElement getAnyTypeInfo()
          Gets the TypeInfo for the any type.
 RuntimeNonElement getClassInfo(java.lang.Class type)
          Returns a ClassInfo, ArrayInfo, or LeafInfo for the given bean.
 RuntimeElementInfo getElementInfo(java.lang.Class scope, javax.xml.namespace.QName name)
          Returns a ElementInfo for the given element.
 java.util.Map<javax.xml.namespace.QName,? extends RuntimeElementInfo> getElementMappings(java.lang.Class scope)
          Returns all ElementInfos in the given scope.
 ReflectionNavigator getNavigator()
          Navigator for this model.
 RuntimeNonElement getTypeInfo(java.lang.reflect.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

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

Specified by:
arrays in interface TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>

beans

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

Specified by:
beans in interface TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>

builtins

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

Specified by:
builtins in interface TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>

enums

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

Specified by:
enums in interface TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>

getTypeInfo

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

Specified by:
getTypeInfo in interface TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.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<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>

getClassInfo

RuntimeNonElement getClassInfo(java.lang.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<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>
Returns:
null if the specified type is not bound by JAXB or otherwise unknown to this set.

getElementInfo

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

Specified by:
getElementInfo in interface TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.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

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

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

getAllElements

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

Specified by:
getAllElements in interface TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>

getNavigator

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

Specified by:
getNavigator in interface TypeInfoSet<java.lang.reflect.Type,java.lang.Class,java.lang.reflect.Field,java.lang.reflect.Method>