org.apache.xmlbeans
Interface SchemaGlobalAttribute

All Superinterfaces:
SchemaComponent, SchemaField, SchemaLocalAttribute

public interface SchemaGlobalAttribute
extends SchemaLocalAttribute, SchemaComponent

Represents a global attribute definition

See Also:
SchemaTypeLoader.findAttribute(javax.xml.namespace.QName)

Nested Class Summary
static class SchemaGlobalAttribute.Ref
          Used to allow on-demand loading of elements.
 
Field Summary
 
Fields inherited from interface org.apache.xmlbeans.SchemaLocalAttribute
OPTIONAL, PROHIBITED, REQUIRED
 
Fields inherited from interface org.apache.xmlbeans.SchemaComponent
ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE
 
Method Summary
 SchemaGlobalAttribute.Ref getRef()
          Retruns a SchemaGlobalElement.Ref pointing to this element itself.
 String getSourceName()
          The name of the source .xsd file within which this attribute was defined
 
Methods inherited from interface org.apache.xmlbeans.SchemaLocalAttribute
getUse
 
Methods inherited from interface org.apache.xmlbeans.SchemaField
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, isAttribute, isDefault, isFixed, isNillable
 
Methods inherited from interface org.apache.xmlbeans.SchemaComponent
getComponentRef, getComponentType, getName, getTypeSystem
 

Method Detail

getSourceName

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


getRef

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