Package com.sun.xml.bind.v2.model.core
Interface Element<T,C>
- All Known Subinterfaces:
ElementInfo<T,,C> RuntimeElement,RuntimeElementInfo
- All Known Implementing Classes:
ClassInfoImpl
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionGets the element name of the class.getScope()If non-null, this element is only active inside the given scope.If this element can substitute another element, return that element.Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstreamMethods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo
canBeReferencedByIDREF, getType
-
Method Details
-
getElementName
QName getElementName()Gets the element name of the class.- Returns:
- Always non-null.
-
getSubstitutionHead
If this element can substitute another element, return that element.Substitutability of elements are transitive.
- Returns:
- null if no such element exists.
-
getScope
If non-null, this element is only active inside the given scope.
-