public 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 and Description |
|---|
AttributeGroupReference(Schema schema,
String reference)
Creates a new AttributeGroup definition
|
| Modifier and Type | Method and Description |
|---|---|
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 the AttributeDecls and AttributeGroups
of this AttributeGroup
|
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
|
getId, getStructureType, setId, validateaddAnnotation, getAnnotations, removeAnnotationpublic Wildcard getAnyAttribute()
getAnyAttribute in class AttributeGrouppublic String getReference()
public AttributeGroup resolveReference()
public AttributeDecl getAttribute(String name)
getAttribute in class AttributeGrouppublic Enumeration getAttributes()
getAttributes in class AttributeGrouppublic boolean isEmpty()
isEmpty in class AttributeGroupCopyright © 2021. All rights reserved.