java.io.Serializable
AttributeGroupDecl
, AttributeGroupReference
public abstract class AttributeGroup extends Annotated
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
Constructor | Description |
---|---|
AttributeGroup() |
Modifier and Type | Method | Description |
---|---|---|
abstract Wildcard |
getAnyAttribute() |
Returns the anyAttribute set in this attribute group if any.
|
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
|
addAnnotation, getAnnotations, removeAnnotation
public abstract Wildcard getAnyAttribute()
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 invalidIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com