Public Member Functions | |
AttributeGroupReference (Schema schema, String reference) | |
Wildcard | getAnyAttribute () |
String | getReference () |
AttributeGroup | resolveReference () |
AttributeDecl | getAttribute (String name) |
Enumeration | getAttributes () |
boolean | isEmpty () |
An XML Schema Attribute Group Definition
org.exolab.castor.xml.schema.AttributeGroupReference.AttributeGroupReference | ( | Schema | schema, | |
String | reference | |||
) |
Creates a new AttributeGroup definition
schema | the Schema that this AttributeGroup belongs to. |
Wildcard org.exolab.castor.xml.schema.AttributeGroupReference.getAnyAttribute | ( | ) | [virtual] |
Returns the anyAttribute set in this attribute group if any.
Implements org.exolab.castor.xml.schema.AttributeGroup.
References org.exolab.castor.xml.schema.AttributeGroup.getAnyAttribute(), and org.exolab.castor.xml.schema.AttributeGroupReference.resolveReference().
AttributeDecl org.exolab.castor.xml.schema.AttributeGroupReference.getAttribute | ( | String | name | ) | [virtual] |
Returns the AttributeDecl associated with the given name
Implements org.exolab.castor.xml.schema.AttributeGroup.
References org.exolab.castor.xml.schema.AttributeGroup.getAttribute(), and org.exolab.castor.xml.schema.AttributeGroupReference.resolveReference().
Referenced by org.exolab.castor.xml.schema.AttributeGroupDecl.getAttribute().
Enumeration org.exolab.castor.xml.schema.AttributeGroupReference.getAttributes | ( | ) | [virtual] |
Returns an enumeration of the AttributeDecls and AttributeGroups of this AttributeGroup
Implements org.exolab.castor.xml.schema.AttributeGroup.
References org.exolab.castor.xml.schema.AttributeGroup.getAttributes(), and org.exolab.castor.xml.schema.AttributeGroupReference.resolveReference().
Referenced by org.exolab.castor.xml.schema.AttributeGroupEnumeration.nextElement().
String org.exolab.castor.xml.schema.AttributeGroupReference.getReference | ( | ) |
Gets the name of the attribute group this class refers to.
boolean org.exolab.castor.xml.schema.AttributeGroupReference.isEmpty | ( | ) | [virtual] |
Returns true if this AttributeGroup does not contain any AttributeDecls or any non-empty AttributeGroups
Implements org.exolab.castor.xml.schema.AttributeGroup.
References org.exolab.castor.xml.schema.AttributeGroup.isEmpty(), and org.exolab.castor.xml.schema.AttributeGroupReference.resolveReference().
Referenced by org.exolab.castor.xml.schema.AttributeGroupEnumeration.hasMoreElements().
AttributeGroup org.exolab.castor.xml.schema.AttributeGroupReference.resolveReference | ( | ) |
Resolves the attribute group reference
References org.exolab.castor.xml.schema.Schema.getAttributeGroup(), and org.exolab.castor.xml.schema.Schema.getMasterSchema().
Referenced by org.exolab.castor.xml.schema.AttributeGroupReference.getAnyAttribute(), org.exolab.castor.xml.schema.AttributeGroupReference.getAttribute(), org.exolab.castor.xml.schema.AttributeGroupReference.getAttributes(), and org.exolab.castor.xml.schema.AttributeGroupReference.isEmpty().