org.apache.xmlbeans
Interface SchemaAttributeGroup

All Superinterfaces:
SchemaComponent

public interface SchemaAttributeGroup
extends SchemaComponent

Represents an attribute group.

An attribute group is a syntactic construct, not a part of the logical model. For example, types declared within an attribute group become local to the type that uses the group - they're not local to the attribute group itself. Therefore in the logical model of a schema type system, an attribute group doesn't represent anything. Its contents are merged into the logical model at parse time.

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

Nested Class Summary
static class SchemaAttributeGroup.Ref
          Used to allow on-demand loading of attribute groups.
 
Field Summary
 
Fields inherited from interface org.apache.xmlbeans.SchemaComponent
ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE
 
Method Summary
 int getComponentType()
          Returns SchemaComponent.ATTRIBUTE_GROUP.
 QName getName()
          The name of the model group.
 
Methods inherited from interface org.apache.xmlbeans.SchemaComponent
getComponentRef, getTypeSystem
 

Method Detail

getComponentType

public int getComponentType()
Returns SchemaComponent.ATTRIBUTE_GROUP.

Specified by:
getComponentType in interface SchemaComponent

getName

public QName getName()
The name of the model group.

Specified by:
getName in interface SchemaComponent