|
|||||||||
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
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 | |
AttributeGroup()
|
Method Summary | |
abstract AttributeDecl |
getAttribute(java.lang.String name)
Returns the AttributeDecl associated with the given name |
abstract java.util.Enumeration |
getAttributes()
Returns an Enumeration of all the attributes of this attribute group. |
java.lang.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(java.lang.String id)
Sets the id of this AttributeGroup |
void |
validate()
Checks the validity of this Attribute declaration |
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 AttributeGroup()
Method Detail |
public abstract AttributeDecl getAttribute(java.lang.String name)
public abstract java.util.Enumeration getAttributes()
public java.lang.String getId()
public abstract boolean isEmpty()
public short getStructureType()
getStructureType
in class Structure
public void setId(java.lang.String id)
id
- the id of this AttributeGrouppublic void validate() throws ValidationException
validate
in class Structure
ValidationException
- when this Attribute declaration
is invalid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |