org.apache.xmlbeans
public interface: SchemaGlobalElement [javadoc |
source]
All Implemented Interfaces:
SchemaLocalElement, SchemaComponent
All Known Implementing Classes:
SchemaGlobalElementImpl
Represents a global element definition.
Also see:
- SchemaTypeLoader#findElement
Nested Class Summary: |
---|
public static final class | SchemaGlobalElement.Ref | Used to allow on-demand loading of elements. |
Method from org.apache.xmlbeans.SchemaGlobalElement Detail: |
public boolean finalExtension()
True if using this element as the head of a substitution
group for a substitution via type extension is prohibited.
If both finalExtension and finalRestriction are true, this
element cannot be head of a substitution group.
Sensible only for global elements. |
public boolean finalRestriction()
True if using this element as the head of a substitution
group for a substitution via type restriction is prohibited.
If both finalExtension and finalRestriction are true, this
element cannot be head of a substitution group.
Sensible only for global elements. |
public Ref getRef()
Retruns a SchemaGlobalElement.Ref pointing to this element itself. |
public SchemaGlobalElement substitutionGroup()
The element that is the head of this element's substitution
group, or null if this element is not a member
of a substitution group. |
public QName[] substitutionGroupMembers()
Set of QNames for elements that are the members of the
substitution group for which this element is the head,
not including this element. |