| java.lang.Object com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl
TypeInfoSetImpl | class TypeInfoSetImpl implements TypeInfoSet<T, C, F, M>(Code) | | Set of
TypeInfo s.
This contains a fixed set of
LeafInfo s and arbitrary set of
ClassInfo s.
Members are annotated with JAXB annotations so that we can dump it easily.
author: Kohsuke Kawaguchi |
Constructor Summary | |
public | TypeInfoSetImpl(Navigator<T, C, F, M> nav, AnnotationReader<T, C, F, M> reader, Map<T, ? extends BuiltinLeafInfoImpl<T, C>> leaves) |
Method Summary | |
public void | add(ClassInfoImpl<T, C, F, M> ci) Adds a new
ClassInfo to the set. | public void | add(EnumLeafInfoImpl<T, C, F, M> li) Adds a new
LeafInfo to the set. | public void | add(ArrayInfoImpl<T, C, F, M> ai) | final public void | add(ElementInfoImpl<T, C, F, M> ei, ModelBuilder<T, C, F, M> builder) | public Map<? extends T, ? extends ArrayInfoImpl<T, C, F, M>> | arrays() | public Map<C, ? extends ClassInfoImpl<T, C, F, M>> | beans() Returns all the
ClassInfo s known to this set. | public Map<T, ? extends BuiltinLeafInfo<T, C>> | builtins() | protected NonElement<T, C> | createAnyType() | public void | dump(Result out) Dumps this model into XML.
For debug only.
TODO: not sure if this actually works. | public Map<C, ? extends EnumLeafInfoImpl<T, C, F, M>> | enums() | public Iterable<? extends ElementInfoImpl<T, C, F, M>> | getAllElements() | public NonElement<T, C> | getAnyTypeInfo() | final public XmlNsForm | getAttributeFormDefault(String nsUri) | public NonElement<T, C> | getClassInfo(C type) Returns a
ClassInfo for the given bean. | final public XmlNsForm | getElementFormDefault(String nsUri) | public ElementInfoImpl<T, C, F, M> | getElementInfo(C scope, QName name) | public Map<QName, ? extends ElementInfoImpl<T, C, F, M>> | getElementMappings(C scope) | public Navigator<T, C, F, M> | getNavigator() | public Map<String, String> | getSchemaLocations() | public NonElement<T, C> | getTypeInfo(T type) Returns a
TypeInfo for the given type. | public NonElement<T, C> | getTypeInfo(Ref<T, C> ref) This method is used to add a root reference to a model. | public Map<String, String> | getXmlNs(String namespaceUri) |
TypeInfoSetImpl | public TypeInfoSetImpl(Navigator<T, C, F, M> nav, AnnotationReader<T, C, F, M> reader, Map<T, ? extends BuiltinLeafInfoImpl<T, C>> leaves)(Code) | | |
dump | public void dump(Result out) throws JAXBException(Code) | | Dumps this model into XML.
For debug only.
TODO: not sure if this actually works. We don't really know what are T,C.
|
getTypeInfo | public NonElement<T, C> getTypeInfo(T type)(Code) | | Returns a
TypeInfo for the given type.
null if the specified type cannot be bound by JAXB, ornot known to this set. |
getTypeInfo | public NonElement<T, C> getTypeInfo(Ref<T, C> ref)(Code) | | This method is used to add a root reference to a model.
|
|
|