java.io.Serializable
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 | 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, removeAnnotation
getId, getStructureType, setId, validate
public AttributeGroupReference(Schema schema, java.lang.String reference)
schema
- the Schema that this AttributeGroup
belongs to.public Wildcard getAnyAttribute()
getAnyAttribute
in class AttributeGroup
public java.lang.String getReference()
public AttributeGroup resolveReference()
public AttributeDecl getAttribute(java.lang.String name)
getAttribute
in class AttributeGroup
public java.util.Enumeration getAttributes()
getAttributes
in class AttributeGroup
public boolean isEmpty()
isEmpty
in class AttributeGroup
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com