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 theArrayInfos known to this set.Map<Class,? extends RuntimeClassInfo> beans()Returns all theClassInfos known to this set.Map<Type,? extends RuntimeBuiltinLeafInfo> builtins()Returns all theBuiltinLeafInfos known to this set.Map<Class,? extends RuntimeEnumLeafInfo> enums()Returns all theEnumLeafInfos known to this set.Iterable<? extends RuntimeElementInfo>Returns all theElementInfoknown to this set.Gets theTypeInfofor the any type.getClassInfo(Class type) getElementInfo(Class scope, QName name) Returns aElementInfofor the given element.Map<QName,? extends RuntimeElementInfo> getElementMappings(Class scope) Returns allElementInfos in the given scope.getTypeInfo(Type type) Returns aTypeInfofor 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:TypeInfoSetReturns all theArrayInfos known to this set. -
beans
Map<Class,? extends RuntimeClassInfo> beans()Description copied from interface:TypeInfoSetReturns all theClassInfos known to this set. -
builtins
Map<Type,? extends RuntimeBuiltinLeafInfo> builtins()Description copied from interface:TypeInfoSetReturns all theBuiltinLeafInfos known to this set. -
enums
Map<Class,? extends RuntimeEnumLeafInfo> enums()Description copied from interface:TypeInfoSetReturns all theEnumLeafInfos known to this set. -
getTypeInfo
Description copied from interface:TypeInfoSetReturns aTypeInfofor the given type.- Specified by:
getTypeInfoin 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:TypeInfoSetGets theTypeInfofor the any type.- Specified by:
getAnyTypeInfoin interfaceTypeInfoSet<Type,Class, Field, Method>
-
getClassInfo
Description copied from interface:TypeInfoSetReturns aClassInfo,ArrayInfo, orLeafInfofor the given bean.This method is almost like refinement of
TypeInfoSet.getTypeInfo(Object)except our C cannot derive from T.- Specified by:
getClassInfoin 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:TypeInfoSetReturns aElementInfofor the given element.- Specified by:
getElementInfoin 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:TypeInfoSetReturns allElementInfos in the given scope.- Specified by:
getElementMappingsin 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:TypeInfoSetReturns all theElementInfoknown to this set.- Specified by:
getAllElementsin interfaceTypeInfoSet<Type,Class, Field, Method>
-