-
- All Known Subinterfaces:
ElementInfo<T,C>
public interface Element<T,C> extends TypeInfo<T,C>
- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QNamegetElementName()Gets the element name of the class.ClassInfo<T,C>getScope()If non-null, this element is only active inside the given scope.Element<T,C>getSubstitutionHead()If this element can substitute another element, return that element.-
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, getType
-
-
-
-
Method Detail
-
getElementName
QName getElementName()
Gets the element name of the class.- Returns:
- Always non-null.
-
getSubstitutionHead
Element<T,C> getSubstitutionHead()
If this element can substitute another element, return that element.Substitutability of elements are transitive.
- Returns:
- null if no such element exists.
-
-