|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ws4d.java.schema.NamedObject
org.ws4d.java.schema.AttributeGroup
public class AttributeGroup
Class for attributes groups.
Field Summary |
---|
Fields inherited from interface org.ws4d.java.schema.Any |
---|
ATTRIBUTE_NAME, ATTRIBUTE_TYPE, ATTRIBUTE_VALUE_FALSE, ATTRIBUTE_VALUE_TRUE, TAG_ANY, TAG_ANYATTRIBUTE |
Method Summary | |
---|---|
void |
addAttribute(Attribute a)
|
void |
addAttributeGroup(AttributeGroup g)
Adds an attribute group to this type. |
Iterator |
allAttributes()
Returns the attributes for this type, even from attribute groups. |
void |
allowAnyAttribute()
This will add the possibility to add any attribute from other schema to this attribute group. |
Iterator |
attributeGroups()
Returns the attribute groups for this type. |
Iterator |
attributes()
|
void |
denyAnyAttribute()
This will remove the possibility to add any attribute from other schema to this attribute group. |
Attribute |
getAttribute(QName name)
|
int |
getAttributeCount()
|
AttributeGroup |
getAttributeGroup(QName name)
Returns an attribute group by qualified name. |
int |
getAttributeGroupCount()
Returns the number of attribute groups for this type. |
QName |
getName()
Returns the qualified name. |
org.ws4d.java.schema.Reference |
getReference()
|
int |
getSchemaIdentifier()
|
static int |
getTotalAttributeGroupCount()
|
boolean |
hasAnyAttribute()
Returns whether this attribute group can contain attributes not defined by the schema. |
boolean |
isReference()
Returns true if the element is a reference for another
schema object, false otherwise. |
void |
setName(QName name)
Sets the qualified name. |
Methods inherited from class org.ws4d.java.schema.NamedObject |
---|
checkNamespace, equals, getParentSchema, hashCode, isAbstract, setAbstract, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static int getTotalAttributeGroupCount()
public int getSchemaIdentifier()
public boolean hasAnyAttribute()
true
if any attribute can be added to this attribute
group, false
otherwise.public void allowAnyAttribute()
public void denyAnyAttribute()
public void addAttribute(Attribute a)
public Attribute getAttribute(QName name)
public int getAttributeCount()
public Iterator attributes()
public void addAttributeGroup(AttributeGroup g)
g
- the attribute group to add.public AttributeGroup getAttributeGroup(QName name)
name
- the qualified name for the attribute group.
public int getAttributeGroupCount()
public Iterator attributeGroups()
public Iterator allAttributes()
public QName getName()
NamedObject
getName
in class NamedObject
public void setName(QName name)
NamedObject
setName
in class NamedObject
name
- the qname to set.public boolean isReference()
true
if the element is a reference for another
schema object, false
otherwise.
true
if the element is a reference for another
schema object, false
otherwise.public org.ws4d.java.schema.Reference getReference()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |