SchemaLocalElement Interface

com.bea.xml
SchemaLocalElement Interface

public interface SchemaLocalElement

    extends SchemaField

Represents a local or global element definition.


All Superinterfaces
SchemaField
All Known Subinterfaces

SchemaGlobalElement

Method Summary

public boolean
blockExtension()
True if extension is blocked.
public boolean
blockRestriction()
True if restriction is blocked.
public boolean
blockSubstitution()
True if element substitution is blocked.
public SchemaIdentityConstraint[]
getIdentityConstraints()
Returns all the Key, KeyRef, and Unique constraints on this element.
public boolean
isAbstract()
True if this element is prohibited in content.
 
Methods from interface com.bea.xml.SchemaField
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, isAttribute, isDefault, isFixed, isNillable
   

Method Detail

blockExtension() Method

public boolean blockExtension()
True if extension is blocked.


blockRestriction() Method

public boolean blockRestriction()
True if restriction is blocked.


blockSubstitution() Method

public boolean blockSubstitution()
True if element substitution is blocked.


getIdentityConstraints() Method

public SchemaIdentityConstraint[] getIdentityConstraints()
Returns all the Key, KeyRef, and Unique constraints on this element.


isAbstract() Method

public boolean isAbstract()
True if this element is prohibited in content. Only sensible if this is the head of a substitution group; then only substitution group members can appear.

Although local elements cannot be abstract, if an element use is a ref to a global element, then the flag from the global element is copied in to the local element where the use occurs.