org.exolab.castor.xml.schema
Class AttributeGroup
- java.io.Serializable
public abstract class AttributeGroup
An XML Schema Attribute Group Definition
Version:
- Keith Visco
- Serialized Form
ANNOTATION , ANYTYPE , 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 |
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 all the attributes of this
attribute group.
|
String | getId() - Returns the id of this AttributeGroup
|
short | getStructureType() - Returns the type of this Schema Structure
|
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
|
getAnyAttribute
public Wildcard getAnyAttribute()
Returns the anyAttribute set in this attribute group if any.
- the anyAttribute set in this attribute group if any.
getAttribute
public AttributeDecl getAttribute(String name)
Returns the AttributeDecl associated with the given name
- the AttributeDecl associated with the given name, or
null if no AttributeDecl with the given name was found.
getAttributes
public Enumeration getAttributes()
Returns an Enumeration of all the attributes of this
attribute group. The enumeration includes attributes from
all AttributeGroupReferences contained in this AttributeGroup.
- an Enumeration of all the attributes of this
attribute group.
getId
public String getId()
Returns the id of this AttributeGroup
- the id of this AttributeGroup, or null, if
no id was defined.
getStructureType
public short getStructureType()
Returns the type of this Schema Structure
- getStructureType in interface Structure
- the type of this Schema Structure
isEmpty
public boolean isEmpty()
Returns true if this AttributeGroup does not contain any
AttributeDecls or any non-empty AttributeGroupReferences
- true if this AttributeGroup does not contain any
AttributeDecls or any non-empty AttributeGroupReferences
setId
public void setId(String id)
Sets the id of this AttributeGroup
id
- the id of this AttributeGroup
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com