Package org.apache.xmlbeans
Interface SchemaGlobalElement
- All Superinterfaces:
SchemaAnnotated
,SchemaComponent
,SchemaField
,SchemaLocalElement
- All Known Implementing Classes:
SchemaGlobalElementImpl
Represents a global element definition.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
Used to allow on-demand loading of elements. -
Field Summary
Fields inherited from interface org.apache.xmlbeans.SchemaComponent
ANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
True if using this element as the head of a substitution group for a substitution via type extension is prohibited.boolean
True if using this element as the head of a substitution group for a substitution via type restriction is prohibited.getRef()
Retruns a SchemaGlobalElement.Ref pointing to this element itself.The element that is the head of this element's substitution group, ornull
if this element is not a member of a substitution group.QName[]
Set of QNames for elements that are the members of the substitution group for which this element is the head, not including this element.Methods inherited from interface org.apache.xmlbeans.SchemaAnnotated
getAnnotation
Methods inherited from interface org.apache.xmlbeans.SchemaComponent
getComponentRef, getComponentType, getName, getSourceName, getTypeSystem
Methods inherited from interface org.apache.xmlbeans.SchemaField
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getUserData, isAttribute, isDefault, isFixed, isNillable
Methods inherited from interface org.apache.xmlbeans.SchemaLocalElement
blockExtension, blockRestriction, blockSubstitution, getIdentityConstraints, isAbstract
-
Method Details
-
substitutionGroupMembers
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. -
substitutionGroup
SchemaGlobalElement substitutionGroup()The element that is the head of this element's substitution group, ornull
if this element is not a member of a substitution group. -
finalExtension
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. -
finalRestriction
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. -
getRef
SchemaGlobalElement.Ref getRef()Retruns a SchemaGlobalElement.Ref pointing to this element itself.
-