|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.xml.schema.SchemaConstruct
org.idoox.xml.schema.AttributeGroup
This class represents an XML Schema AttributeGroup.
Nested Class Summary |
Nested classes inherited from class org.idoox.xml.schema.SchemaConstruct |
SchemaConstruct.ConstructType |
Field Summary | |
protected AttributeGroup[] |
attributeGroups
attributes contained within this group |
protected Attribute[] |
attributes
attributes contained within this group |
protected Type |
type
the type of the attribute |
Fields inherited from class org.idoox.xml.schema.SchemaConstruct |
appInfo, name, reference |
Constructor Summary | |
AttributeGroup()
Creates a new AttributeGroup instance. |
|
AttributeGroup(QName name)
Creates a new AttributeGroup instance. |
Method Summary | |
void |
addAttribute(Attribute attribute)
Deprecated. Use setAttributes(org.idoox.xml.schema.Attribute[]) instead |
void |
addAttributeGroup(AttributeGroup attributeGroup)
Deprecated. Use setAttributeGroups(org.idoox.xml.schema.AttributeGroup[]) instead. |
void |
copyFrom(SchemaConstruct anotherConstruct)
Copies all the information of another attribute group into this group. |
boolean |
equals(java.lang.Object other)
|
AttributeGroup[] |
getAttributeGroups()
Returns contained attributeGroups. |
Attribute[] |
getAttributes()
Returns contained attributes. |
AttributeGroup |
getReferencedAttributeGroup()
If this schema attributeGroup is a reference, returns the referenced attributeGroup. |
int |
hashCode()
|
void |
setAttributeGroups(AttributeGroup[] attributeGroups)
Sets contained attributeGroups. |
void |
setAttributes(Attribute[] attributes)
Sets contained attributes. |
void |
setName(QName name)
Sets the name of the type. |
void |
setReferencedAttributeGroup(AttributeGroup referenced)
Sets the referenced schema attributeGroup. |
Methods inherited from class org.idoox.xml.schema.SchemaConstruct |
clone, containsInFirst, getAppInfo, getAppInfos, getConstructType, getFacets, getJavaName, getName, getParent, getPrefixNamespaceMapping, getReferencedConstruct, parseQName, setAppInfo, setAppInfos, setConstructType, setFacets, setJavaName, setParent, setPrefixNamespaceMapping, setReferencedConstruct, toIndentedString, toIndentedString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Type type
protected Attribute[] attributes
protected AttributeGroup[] attributeGroups
Constructor Detail |
public AttributeGroup()
AttributeGroup
instance.
public AttributeGroup(QName name)
AttributeGroup
instance.
name
- the name of the group of attributesMethod Detail |
public void setName(QName name)
setName
in class SchemaConstruct
name
- the new namepublic Attribute[] getAttributes()
public void setAttributes(Attribute[] attributes)
attributes
- contained attributespublic void addAttribute(Attribute attribute)
setAttributes(org.idoox.xml.schema.Attribute[])
instead
attribute
- the attribute to be addedpublic AttributeGroup[] getAttributeGroups()
public void setAttributeGroups(AttributeGroup[] attributeGroups)
attributeGroups
- contained attributeGroupspublic void addAttributeGroup(AttributeGroup attributeGroup)
setAttributeGroups(org.idoox.xml.schema.AttributeGroup[])
instead.
attributeGroup
- the attributeGroup to be addedpublic AttributeGroup getReferencedAttributeGroup()
public void setReferencedAttributeGroup(AttributeGroup referenced)
referenced
- the referenced schema attributeGrouppublic boolean equals(java.lang.Object other)
public int hashCode()
public void copyFrom(SchemaConstruct anotherConstruct)
copyFrom
in class SchemaConstruct
anotherConstruct
- the another attribute group
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |