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 and Description |
|---|
AttributeGroup() |
| Modifier and Type | Method and Description |
|---|---|
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<AttributeDecl> |
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
|
addAnnotation, getAnnotations, removeAnnotationpublic abstract Wildcard getAnyAttribute()
public abstract AttributeDecl getAttribute(String name)
public abstract Enumeration<AttributeDecl> getAttributes()
public String getId()
public abstract boolean isEmpty()
public short getStructureType()
getStructureType in class Structurepublic void setId(String id)
id - the id of this AttributeGrouppublic void validate()
throws ValidationException
validate in class StructureValidationException - when this Attribute declaration is invalidCopyright © 2016. All rights reserved.