java.io.Serializablepublic final class AttributeGroupReference extends AttributeGroup
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 |
|---|---|
AttributeGroupReference(Schema schema,
java.lang.String reference) |
Creates a new AttributeGroup definition
|
| Modifier and Type | Method | Description |
|---|---|---|
Wildcard |
getAnyAttribute() |
Returns the anyAttribute set in this attribute group if any.
|
AttributeDecl |
getAttribute(java.lang.String name) |
Returns the AttributeDecl associated with the given name
|
java.util.Enumeration |
getAttributes() |
Returns an enumeration of the AttributeDecls and AttributeGroups
of this AttributeGroup
|
java.lang.String |
getReference() |
Gets the name of the attribute group this class refers to.
|
boolean |
isEmpty() |
Returns true if this AttributeGroup does not contain any
AttributeDecls or any non-empty AttributeGroups
|
AttributeGroup |
resolveReference() |
Resolves the attribute group reference
|
addAnnotation, getAnnotations, removeAnnotationgetId, getStructureType, setId, validatepublic AttributeGroupReference(Schema schema, java.lang.String reference)
schema - the Schema that this AttributeGroup
belongs to.public Wildcard getAnyAttribute()
getAnyAttribute in class AttributeGrouppublic java.lang.String getReference()
public AttributeGroup resolveReference()
public AttributeDecl getAttribute(java.lang.String name)
getAttribute in class AttributeGrouppublic java.util.Enumeration getAttributes()
getAttributes in class AttributeGrouppublic boolean isEmpty()
isEmpty in class AttributeGroupIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com