SchemaGlobalElement Interface

com.bea.xml
SchemaGlobalElement Interface

public interface SchemaGlobalElement

    extends SchemaComponent, SchemaLocalElement

Represents a global element definition.

Related Topics

SchemaTypeLoader.findElement(QName)


All Superinterfaces
SchemaComponent, SchemaField, SchemaLocalElement

Field Summary

   
Fields from interface com.bea.xml.SchemaComponent
ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE
 

Method Summary

public boolean
finalExtension()
True if using this element as the head of a substitution group for a substitution via type extension is prohibited.
public boolean
finalRestriction()
True if using this element as the head of a substitution group for a substitution via type restriction is prohibited.
public SchemaGlobalElement.Ref
getRef()
Retruns a SchemaGlobalElement.Ref pointing to this element itself.
public String
getSourceName()
The name of the source .xsd file within which this attribute was defined
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.
 
Methods from interface com.bea.xml.SchemaComponent
getComponentRef, getComponentType, getName, getTypeSystem
 
Methods from interface com.bea.xml.SchemaField
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, isAttribute, isDefault, isFixed, isNillable
 
Methods from interface com.bea.xml.SchemaLocalElement
blockExtension, blockRestriction, blockSubstitution, getIdentityConstraints, isAbstract
   

Method Detail

finalExtension() Method

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.


finalRestriction() Method

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.


getRef() Method

public SchemaGlobalElement.Ref getRef()
Retruns a SchemaGlobalElement.Ref pointing to this element itself.


getSourceName() Method

public String getSourceName()
The name of the source .xsd file within which this attribute was defined


substitutionGroup() Method

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.


substitutionGroupMembers() Method

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.