org.exolab.castor.xml.schema
public final class AttributeGroupReference extends AttributeGroup
Version: $Revision: 5951 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
Constructor Summary | |
---|---|
AttributeGroupReference(Schema schema, String reference)
Creates a new AttributeGroup definition |
Method Summary | |
---|---|
Wildcard | getAnyAttribute()
Returns the anyAttribute set in this attribute group if any. |
AttributeDecl | getAttribute(String name)
Returns the AttributeDecl associated with the given name |
Enumeration | getAttributes()
Returns an enumeration of the AttributeDecls and AttributeGroups
of this AttributeGroup
|
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 |
Parameters: schema the Schema that this AttributeGroup belongs to.
Returns: the anyAttribute set in this attribute group if any.
Returns: the AttributeDecl associated with the given name, or null if no AttributeDecl with the given name was found.
Returns: an Enumeration of the AttributeDecls and AttributeGroups of this AttributeGroup
Returns: true if this AttributeGroup does not contain any AttributeDecls or any non-empty AttributeGroups
Returns: the attribute group defined at the schema level that is refered to by this class.