Interface RuntimeTypeInfoSet
- All Superinterfaces:
TypeInfoSet<Type,
Class, Field, Method>
TypeInfoSet
refined for runtime.- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionMap<Class,
? extends RuntimeArrayInfo> arrays()
Returns all theArrayInfo
s known to this set.Map<Class,
? extends RuntimeClassInfo> beans()
Returns all theClassInfo
s known to this set.Map<Type,
? extends RuntimeBuiltinLeafInfo> builtins()
Returns all theBuiltinLeafInfo
s known to this set.Map<Class,
? extends RuntimeEnumLeafInfo> enums()
Returns all theEnumLeafInfo
s known to this set.Iterable<? extends RuntimeElementInfo>
Returns all theElementInfo
known to this set.Gets theTypeInfo
for the any type.getClassInfo
(Class type) getElementInfo
(Class scope, QName name) Returns aElementInfo
for the given element.Map<QName,
? extends RuntimeElementInfo> getElementMappings
(Class scope) Returns allElementInfo
s in the given scope.getTypeInfo
(Type type) Returns aTypeInfo
for the given type.Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfoSet
dump, getAttributeFormDefault, getElementFormDefault, getNavigator, getSchemaLocations, getTypeInfo, getXmlNs
-
Method Details
-
arrays
Map<Class,? extends RuntimeArrayInfo> arrays()Description copied from interface:TypeInfoSet
Returns all theArrayInfo
s known to this set. -
beans
Map<Class,? extends RuntimeClassInfo> beans()Description copied from interface:TypeInfoSet
Returns all theClassInfo
s known to this set. -
builtins
Map<Type,? extends RuntimeBuiltinLeafInfo> builtins()Description copied from interface:TypeInfoSet
Returns all theBuiltinLeafInfo
s known to this set. -
enums
Map<Class,? extends RuntimeEnumLeafInfo> enums()Description copied from interface:TypeInfoSet
Returns all theEnumLeafInfo
s known to this set. -
getTypeInfo
Description copied from interface:TypeInfoSet
Returns aTypeInfo
for the given type.- Specified by:
getTypeInfo
in interfaceTypeInfoSet<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 theTypeInfo
for the any type.- Specified by:
getAnyTypeInfo
in interfaceTypeInfoSet<Type,
Class, Field, Method>
-
getClassInfo
Description copied from interface:TypeInfoSet
Returns aClassInfo
,ArrayInfo
, orLeafInfo
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 interfaceTypeInfoSet<Type,
Class, Field, Method> - Returns:
- null if the specified type is not bound by JAXB or otherwise unknown to this set.
-
getElementInfo
Description copied from interface:TypeInfoSet
Returns aElementInfo
for the given element.- Specified by:
getElementInfo
in interfaceTypeInfoSet<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
Description copied from interface:TypeInfoSet
Returns allElementInfo
s in the given scope.- Specified by:
getElementMappings
in interfaceTypeInfoSet<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 theElementInfo
known to this set.- Specified by:
getAllElements
in interfaceTypeInfoSet<Type,
Class, Field, Method>
-