|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.schema.Structure
org.exolab.castor.xml.schema.Annotated
org.exolab.castor.xml.schema.AttributeGroup
org.exolab.castor.xml.schema.AttributeGroupReference
An XML Schema Attribute Group Definition
Field Summary |
Fields inherited from class org.exolab.castor.xml.schema.Structure |
ANNOTATION, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, MODELGROUP, MODELGROUP_REF, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD |
Constructor Summary | |
AttributeGroupReference(Schema schema,
java.lang.String reference)
Creates a new AttributeGroup definition |
Method Summary | |
AttributeDecl |
getAttribute(java.lang.String name)
Returns the AttributeDecl associated with the given name |
java.util.Enumeration |
getAttributes()
Returns an enumeration of the AttributeDecls and AttributeGroups of this AttributeGroup |
java.lang.String |
getReference()
Gets the name of the attribute group this class refers to. |
boolean |
isEmpty()
Returns true if this AttributeGroup does not contain any AttributeDecls or any non-empty AttributeGroups |
AttributeGroup |
resolveReference()
Resolves the attribute group reference |
Methods inherited from class org.exolab.castor.xml.schema.AttributeGroup |
getId, getStructureType, setId, validate |
Methods inherited from class org.exolab.castor.xml.schema.Annotated |
addAnnotation, getAnnotations, removeAnnotation |
Methods inherited from class org.exolab.castor.xml.schema.Structure |
isValid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeGroupReference(Schema schema, java.lang.String reference)
schema
- the Schema that this AttributeGroup
belongs to.Method Detail |
public java.lang.String getReference()
public AttributeGroup resolveReference()
public AttributeDecl getAttribute(java.lang.String name)
getAttribute
in class AttributeGroup
public java.util.Enumeration getAttributes()
getAttributes
in class AttributeGroup
public boolean isEmpty()
isEmpty
in class AttributeGroup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |