|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeInfoSet<T,C,F,M>
Root of models. Set of TypeInfos.
| Method Summary | |
|---|---|
java.util.Map<? extends T,? extends ArrayInfo<T,C>> |
arrays()
Returns all the ArrayInfos known to this set. |
java.util.Map<C,? extends ClassInfo<T,C>> |
beans()
Returns all the ClassInfos known to this set. |
java.util.Map<T,? extends BuiltinLeafInfo<T,C>> |
builtins()
Returns all the BuiltinLeafInfos known to this set. |
void |
dump(javax.xml.transform.Result out)
Dumps this model into XML. |
java.util.Map<C,? extends EnumLeafInfo<T,C>> |
enums()
Returns all the EnumLeafInfos known to this set. |
java.lang.Iterable<? extends ElementInfo<T,C>> |
getAllElements()
Returns all the ElementInfo known to this set. |
NonElement<T,C> |
getAnyTypeInfo()
Gets the TypeInfo for the any type. |
javax.xml.bind.annotation.XmlNsForm |
getAttributeFormDefault(java.lang.String nsUri)
Gets the reasonable XmlNsForm for the given namespace URI. |
NonElement<T,C> |
getClassInfo(C type)
Returns a ClassInfo, ArrayInfo, or LeafInfo
for the given bean. |
javax.xml.bind.annotation.XmlNsForm |
getElementFormDefault(java.lang.String nsUri)
Gets the reasonable XmlNsForm for the given namespace URI. |
ElementInfo<T,C> |
getElementInfo(C scope,
javax.xml.namespace.QName name)
Returns a ElementInfo for the given element. |
java.util.Map<javax.xml.namespace.QName,? extends ElementInfo<T,C>> |
getElementMappings(C scope)
Returns all ElementInfos in the given scope. |
Navigator<T,C,F,M> |
getNavigator()
Navigator for this model. |
java.util.Map<java.lang.String,java.lang.String> |
getSchemaLocations()
Gets XmlSchema.location() found in this context. |
NonElement<T,C> |
getTypeInfo(Ref<T,C> ref)
Returns a type information for the given reference. |
NonElement<T,C> |
getTypeInfo(T type)
Returns a TypeInfo for the given type. |
java.util.Map<java.lang.String,java.lang.String> |
getXmlNs(java.lang.String namespaceUri)
Gets all XmlSchema.xmlns() found in this context for the given namespace URI. |
| Method Detail |
|---|
Navigator<T,C,F,M> getNavigator()
Navigator for this model.
NonElement<T,C> getTypeInfo(T type)
TypeInfo for the given type.
NonElement<T,C> getAnyTypeInfo()
TypeInfo for the any type.
NonElement<T,C> getClassInfo(C type)
ClassInfo, ArrayInfo, or LeafInfo
for the given bean.
This method is almost like refinement of getTypeInfo(Object) except
our C cannot derive from T.
java.util.Map<? extends T,? extends ArrayInfo<T,C>> arrays()
ArrayInfos known to this set.
java.util.Map<C,? extends ClassInfo<T,C>> beans()
ClassInfos known to this set.
java.util.Map<T,? extends BuiltinLeafInfo<T,C>> builtins()
BuiltinLeafInfos known to this set.
java.util.Map<C,? extends EnumLeafInfo<T,C>> enums()
EnumLeafInfos known to this set.
ElementInfo<T,C> getElementInfo(C scope,
javax.xml.namespace.QName name)
ElementInfo for the given element.
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.NonElement<T,C> getTypeInfo(Ref<T,C> ref)
java.util.Map<javax.xml.namespace.QName,? extends ElementInfo<T,C>> getElementMappings(C scope)
ElementInfos in the given scope.
scope - if non-null, this method only returns the local element mapping.java.lang.Iterable<? extends ElementInfo<T,C>> getAllElements()
ElementInfo known to this set.
java.util.Map<java.lang.String,java.lang.String> getXmlNs(java.lang.String namespaceUri)
XmlSchema.xmlns() found in this context for the given namespace URI.
This operation is expected to be only used in schema generator, so it can be slow.
java.util.Map<java.lang.String,java.lang.String> getSchemaLocations()
XmlSchema.location() found in this context.
This operation is expected to be only used in schema generator, so it can be slow.
javax.xml.bind.annotation.XmlNsForm getElementFormDefault(java.lang.String nsUri)
XmlNsForm for the given namespace URI.
The spec doesn't define very precisely what the XmlNsForm value
for the given namespace would be, so this method is implemented in rather
ad-hoc way. It should work as what most people expect for simple cases.
javax.xml.bind.annotation.XmlNsForm getAttributeFormDefault(java.lang.String nsUri)
XmlNsForm for the given namespace URI.
The spec doesn't define very precisely what the XmlNsForm value
for the given namespace would be, so this method is implemented in rather
ad-hoc way. It should work as what most people expect for simple cases.
void dump(javax.xml.transform.Result out)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||