org.exolab.castor.xml.schema
public abstract class AttributeGroup extends Annotated
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:28 $
Method Summary | |
---|---|
abstract Wildcard | getAnyAttribute()
Returns the anyAttribute set in this attribute group if any. |
abstract AttributeDecl | getAttribute(String name)
Returns the AttributeDecl associated with the given name |
abstract Enumeration | getAttributes()
Returns an Enumeration of all the attributes of this
attribute group. |
String | getId()
Returns the id of this AttributeGroup |
short | getStructureType()
Returns the type of this Schema Structure |
abstract boolean | isEmpty()
Returns true if this AttributeGroup does not contain any
AttributeDecls or any non-empty AttributeGroupReferences
|
void | setId(String id)
Sets the id of this AttributeGroup |
void | validate()
Checks the validity of this Attribute declaration |
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 all the attributes of this attribute group.
Returns: the id of this AttributeGroup, or null, if no id was defined.
Returns: the type of this Schema Structure
Returns: true if this AttributeGroup does not contain any AttributeDecls or any non-empty AttributeGroupReferences
Parameters: id the id of this AttributeGroup
Throws: ValidationException when this Attribute declaration is invalid