|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ElementInfo<T,C>
A particular use (specialization) of JAXBElement.
TODO: is ElementInfo adaptable?
| Method Summary | |
|---|---|
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. |
java.util.Collection<? extends ElementInfo<T,C>> |
getSubstitutionMembers()
All the ElementInfos whose getSubstitutionHead() points
to this object. |
T |
getType()
Returns the representation for JAXBElement<contentInMemoryType>. |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.Element |
|---|
getElementName, getScope |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo |
|---|
canBeReferencedByIDREF |
| Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable |
|---|
getLocation, getUpstream |
| Method Detail |
|---|
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.
getType in interface TypeInfo<T,C>ElementInfo<T,C> getSubstitutionHead()
ElementSubstitutability of elements are transitive.
getSubstitutionHead in interface Element<T,C>java.util.Collection<? extends ElementInfo<T,C>> getSubstitutionMembers()
ElementInfos whose getSubstitutionHead() points
to this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||