public interface ElementInfo<T,C> extends Element<T,C>
JAXBElement
.
TODO: is ElementInfo adaptable?Modifier and Type | Method and Description |
---|---|
T |
getContentInMemoryType()
T of
JAXBElement<T> . |
NonElement<T,C> |
getContentType()
Short for
getProperty().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 the
ElementInfo s whose getSubstitutionHead() points
to this object. |
T |
getType()
Returns the representation for
JAXBElement <contentInMemoryType> . |
getElementName, getScope
canBeReferencedByIDREF
getLocation, getUpstream
ElementPropertyInfo<T,C> getProperty()
NonElement<T,C> getContentType()
getProperty().ref().get(0)
.
The type of the value this element holds.
Normally, this is the T of JAXBElement<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.getContentInMemoryType()
T getContentInMemoryType()
JAXBElement<T>
.
This is tied to the in-memory representation.
getContentType()
T getType()
JAXBElement
<contentInMemoryType>
.
This returns the signature in Java and thus isn't affected by the adapter.
ElementInfo<T,C> getSubstitutionHead()
Substitutability of elements are transitive.
ElementInfo
can only substitute ElementInfo
.
getSubstitutionHead
in interface Element<T,C>
Collection<? extends ElementInfo<T,C>> getSubstitutionMembers()
ElementInfo
s whose getSubstitutionHead()
points
to this object.Copyright © 2021 JBoss by Red Hat. All rights reserved.