Interface RuntimeTypeInfoSet
-
- All Superinterfaces:
TypeInfoSet<Type,Class,Field,Method>
public interface RuntimeTypeInfoSet extends TypeInfoSet<Type,Class,Field,Method>
TypeInfoSetrefined for runtime.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<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>getAllElements()Returns all theElementInfoknown to this set.RuntimeNonElementgetAnyTypeInfo()Gets theTypeInfofor the any type.RuntimeNonElementgetClassInfo(Class type)RuntimeElementInfogetElementInfo(Class scope, QName name)Returns aElementInfofor the given element.Map<QName,? extends RuntimeElementInfo>getElementMappings(Class scope)Returns allElementInfos in the given scope.RuntimeNonElementgetTypeInfo(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 Detail
-
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
RuntimeNonElement getTypeInfo(Type type)
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
RuntimeNonElement getClassInfo(Class type)
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
RuntimeElementInfo getElementInfo(Class scope, QName name)
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
Map<QName,? extends RuntimeElementInfo> getElementMappings(Class scope)
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>
-
-