TypeInfos.
This contains a fixed set of LeafInfos and arbitrary set of ClassInfos.
Members are annotated with JAXB annotations so that we can dump it easily.
| Modifier and Type | Field and Description |
|---|---|
| private final Iterable | |
| private final NonElement | |
| private final Map | arrays
All |
| private final Map | beans
All the user-defined classes. |
| private final Map | |
| private final Map | builtins
All the leaves. |
| private final Map | elementMappings
The element mapping. |
| private final Map | enums
All |
| public final Navigator | |
| public final AnnotationReader | |
| private Map | xmlNsCache
Lazily parsed set of |
| Access | Constructor and Description |
|---|---|
| public | TypeInfoSetImpl(Navigator<T, C, F, M> nav, AnnotationReader<T, C, F, M> reader, Map<T, ? extends BuiltinLeafInfoImpl<T, C>> leaves)
|
| allElements | back to summary |
|---|---|
| private final Iterable<? extends ElementInfoImpl<T, C, F, M>> allElements | |
| anyType | back to summary |
|---|---|
| private final NonElement<T, C> anyType
| |
| arrays | back to summary |
|---|---|
| private final Map<T, ArrayInfoImpl<T, C, F, M>> arrays All | |
| beans | back to summary |
|---|---|
| private final Map<C, ClassInfoImpl<T, C, F, M>> beans All the user-defined classes.
Using | |
| beansView | back to summary |
|---|---|
| private final Map<C, ClassInfoImpl<T, C, F, M>> beansView
| |
| builtins | back to summary |
|---|---|
| private final Map<T, BuiltinLeafInfo<T, C>> builtins All the leaves. | |
| elementMappings | back to summary |
|---|---|
| private final Map<C, Map<QName, ElementInfoImpl<T, C, F, M>>> elementMappings The element mapping. | |
| enums | back to summary |
|---|---|
| private final Map<C, EnumLeafInfoImpl<T, C, F, M>> enums All | |
| nav | back to summary |
|---|---|
| public final Navigator<T, C, F, M> nav
| |
| reader | back to summary |
|---|---|
| public final AnnotationReader<T, C, F, M> reader
| |
| xmlNsCache | back to summary |
|---|---|
| private Map<String, Map<String, String>> xmlNsCache Lazily parsed set of
| |
| TypeInfoSetImpl | back to summary |
|---|---|
| public TypeInfoSetImpl(Navigator<T, C, F, M> nav, AnnotationReader<T, C, F, M> reader, Map<T, ? extends BuiltinLeafInfoImpl<T, C>> leaves) | |
| add | back to summary |
|---|---|
| public void add(ClassInfoImpl<T, C, F, M> ci) Adds a new | |
| add | back to summary |
|---|---|
| public void add(EnumLeafInfoImpl<T, C, F, M> li) Adds a new | |
| add | back to summary |
|---|---|
| public void add(ArrayInfoImpl<T, C, F, M> ai) | |
| add | back to summary |
|---|---|
public final void add(ElementInfoImpl<T, C, F, M> ei, ModelBuilder<T, C, F, M> builder)
| |
| arrays | back to summary |
|---|---|
| public Map Implements org. Doc from org. Returns all the
| |
| beans | back to summary |
|---|---|
| public Map Implements org. Returns all the
| |
| builtins | back to summary |
|---|---|
| public Map Implements org. Doc from org. Returns all the
| |
| createAnyType | back to summary |
|---|---|
| protected NonElement | |
| dump | back to summary |
|---|---|
| public void dump(Result out) throws JAXBException Implements org. Dumps this model into XML. For debug only. Todo not sure if this actually works. We don't really know what are T,C.
| |
| enums | back to summary |
|---|---|
| public Map Implements org. Doc from org. Returns all the
| |
| getAllElements | back to summary |
|---|---|
| public Iterable Implements org. Doc from org. Returns all the
| |
| getAnyTypeInfo | back to summary |
|---|---|
| public NonElement Implements org. Doc from org. Gets the
| |
| getAttributeFormDefault | back to summary |
|---|---|
| public final XmlNsForm getAttributeFormDefault(String nsUri) Implements org. Doc from org. Gets the reasonable
The spec doesn't define very precisely what the
| |
| getClassInfo | back to summary |
|---|---|
| public NonElement Implements org. Returns a
This method is almost like refinement of
| |
| getElementFormDefault | back to summary |
|---|---|
| public final XmlNsForm getElementFormDefault(String nsUri) Implements org. Doc from org. Gets the reasonable
The spec doesn't define very precisely what the
| |
| getElementInfo | back to summary |
|---|---|
| public ElementInfoImpl Implements org. Doc from org. Returns a
| |
| getElementMappings | back to summary |
|---|---|
| public Map Implements org. Doc from org. Returns all
| |
| getNavigator | back to summary |
|---|---|
| public Navigator Implements org. Doc from org.
| |
| getSchemaLocations | back to summary |
|---|---|
| public Map Implements org. Doc from org. Gets This operation is expected to be only used in schema generator, so it can be slow.
| |
| getTypeInfo | back to summary |
|---|---|
| public NonElement Implements org. Returns a
| |
| getTypeInfo | back to summary |
|---|---|
| public NonElement Implements org. This method is used to add a root reference to a model.
| |
| getXmlNs | back to summary |
|---|---|
| public Map Implements org. Doc from org. Gets all This operation is expected to be only used in schema generator, so it can be slow.
| |