Module com.sun.xml.bind.core
Interface ElementInfo<T,C>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetContentInMemoryType()T ofJAXBElement<T>.NonElement<T,C>getContentType()Short forgetProperty().ref().get(0).ElementPropertyInfo<T,C>getProperty()Gets the object that represents the value property.ElementInfo<T,C>getSubstitutionHead()If this element can substitute another element, return that element.Collection<? extends ElementInfo<T,C>>getSubstitutionMembers()All theElementInfos whosegetSubstitutionHead()points to this object.TgetType()Returns the representation forJAXBElement<contentInMemoryType>.-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.Element
getElementName, getScope
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.annotation.Locatable
getLocation, getUpstream
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.TypeInfo
canBeReferencedByIDREF
-
-
-
-
Method Detail
-
getProperty
ElementPropertyInfo<T,C> getProperty()
Gets the object that represents the value property.- Returns:
- non-null.
-
getContentType
NonElement<T,C> getContentType()
Short forgetProperty().ref().get(0). The type of the value this element holds. Normally, this is the T ofJAXBElement<T>. But if the property is adapted, this is the on-the-wire type. Or if the element has a list of values, then this field represents the type of the individual item.- See Also:
getContentInMemoryType()
-
getContentInMemoryType
T getContentInMemoryType()
T ofJAXBElement<T>.This is tied to the in-memory representation.
- See Also:
getContentType()
-
getType
T getType()
Returns the representation forJAXBElement<contentInMemoryType>.This returns the signature in Java and thus isn't affected by the adapter.
-
getSubstitutionHead
ElementInfo<T,C> getSubstitutionHead()
If this element can substitute another element, return that element.Substitutability of elements are transitive.
ElementInfocan only substituteElementInfo.- Specified by:
getSubstitutionHeadin interfaceElement<T,C>- Returns:
- null if no such element exists.
-
getSubstitutionMembers
Collection<? extends ElementInfo<T,C>> getSubstitutionMembers()
All theElementInfos whosegetSubstitutionHead()points to this object.- Returns:
- can be empty but never null.
-
-