Interface AttributeGroup
- 
- All Superinterfaces:
 Annotated,OpenAttrs,XmlObject,XmlTokenSource
- All Known Subinterfaces:
 AttributeGroupRef,NamedAttributeGroup
- All Known Implementing Classes:
 AttributeGroupImpl,AttributeGroupRefImpl,NamedAttributeGroupImpl
public interface AttributeGroup extends Annotated
An XML attributeGroup(@http://www.w3.org/2001/XMLSchema). This is a complex type. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAttributeGroup.FactoryA factory class with static methods for creating instances of this type. 
- 
Field Summary
Fields Modifier and Type Field Description static SchemaTypetype- 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WildcardaddNewAnyAttribute()Appends and returns a new empty "anyAttribute" elementAttributeaddNewAttribute()Appends and returns a new empty value (as xml) as the last "attribute" elementAttributeGroupRefaddNewAttributeGroup()Appends and returns a new empty value (as xml) as the last "attributeGroup" elementWildcardgetAnyAttribute()Gets the "anyAttribute" elementAttribute[]getAttributeArray()Gets array of all "attribute" elementsAttributegetAttributeArray(int i)Gets ith "attribute" elementAttributeGroupRef[]getAttributeGroupArray()Gets array of all "attributeGroup" elementsAttributeGroupRefgetAttributeGroupArray(int i)Gets ith "attributeGroup" elementjava.lang.StringgetName()Gets the "name" attributejavax.xml.namespace.QNamegetRef()Gets the "ref" attributeAttributeinsertNewAttribute(int i)Inserts and returns a new empty value (as xml) as the ith "attribute" elementAttributeGroupRefinsertNewAttributeGroup(int i)Inserts and returns a new empty value (as xml) as the ith "attributeGroup" elementbooleanisSetAnyAttribute()True if has "anyAttribute" elementbooleanisSetName()True if has "name" attributebooleanisSetRef()True if has "ref" attributevoidremoveAttribute(int i)Removes the ith "attribute" elementvoidremoveAttributeGroup(int i)Removes the ith "attributeGroup" elementvoidsetAnyAttribute(Wildcard anyAttribute)Sets the "anyAttribute" elementvoidsetAttributeArray(int i, Attribute attribute)Sets ith "attribute" elementvoidsetAttributeArray(Attribute[] attributeArray)Sets array of all "attribute" elementvoidsetAttributeGroupArray(int i, AttributeGroupRef attributeGroup)Sets ith "attributeGroup" elementvoidsetAttributeGroupArray(AttributeGroupRef[] attributeGroupArray)Sets array of all "attributeGroup" elementvoidsetName(java.lang.String name)Sets the "name" attributevoidsetRef(javax.xml.namespace.QName ref)Sets the "ref" attributeintsizeOfAttributeArray()Returns number of "attribute" elementintsizeOfAttributeGroupArray()Returns number of "attributeGroup" elementvoidunsetAnyAttribute()Unsets the "anyAttribute" elementvoidunsetName()Unsets the "name" attributevoidunsetRef()Unsets the "ref" attributeXmlNCNamexgetName()Gets (as xml) the "name" attributeXmlQNamexgetRef()Gets (as xml) the "ref" attributevoidxsetName(XmlNCName name)Sets (as xml) the "name" attributevoidxsetRef(XmlQName ref)Sets (as xml) the "ref" attribute- 
Methods inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetId 
- 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode 
- 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText 
 - 
 
 - 
 
- 
- 
Field Detail
- 
type
static final SchemaType type
 
 - 
 
- 
Method Detail
- 
getAttributeArray
Attribute[] getAttributeArray()
Gets array of all "attribute" elements 
- 
getAttributeArray
Attribute getAttributeArray(int i)
Gets ith "attribute" element 
- 
sizeOfAttributeArray
int sizeOfAttributeArray()
Returns number of "attribute" element 
- 
setAttributeArray
void setAttributeArray(Attribute[] attributeArray)
Sets array of all "attribute" element 
- 
setAttributeArray
void setAttributeArray(int i, Attribute attribute)Sets ith "attribute" element 
- 
insertNewAttribute
Attribute insertNewAttribute(int i)
Inserts and returns a new empty value (as xml) as the ith "attribute" element 
- 
addNewAttribute
Attribute addNewAttribute()
Appends and returns a new empty value (as xml) as the last "attribute" element 
- 
removeAttribute
void removeAttribute(int i)
Removes the ith "attribute" element 
- 
getAttributeGroupArray
AttributeGroupRef[] getAttributeGroupArray()
Gets array of all "attributeGroup" elements 
- 
getAttributeGroupArray
AttributeGroupRef getAttributeGroupArray(int i)
Gets ith "attributeGroup" element 
- 
sizeOfAttributeGroupArray
int sizeOfAttributeGroupArray()
Returns number of "attributeGroup" element 
- 
setAttributeGroupArray
void setAttributeGroupArray(AttributeGroupRef[] attributeGroupArray)
Sets array of all "attributeGroup" element 
- 
setAttributeGroupArray
void setAttributeGroupArray(int i, AttributeGroupRef attributeGroup)Sets ith "attributeGroup" element 
- 
insertNewAttributeGroup
AttributeGroupRef insertNewAttributeGroup(int i)
Inserts and returns a new empty value (as xml) as the ith "attributeGroup" element 
- 
addNewAttributeGroup
AttributeGroupRef addNewAttributeGroup()
Appends and returns a new empty value (as xml) as the last "attributeGroup" element 
- 
removeAttributeGroup
void removeAttributeGroup(int i)
Removes the ith "attributeGroup" element 
- 
getAnyAttribute
Wildcard getAnyAttribute()
Gets the "anyAttribute" element 
- 
isSetAnyAttribute
boolean isSetAnyAttribute()
True if has "anyAttribute" element 
- 
setAnyAttribute
void setAnyAttribute(Wildcard anyAttribute)
Sets the "anyAttribute" element 
- 
addNewAnyAttribute
Wildcard addNewAnyAttribute()
Appends and returns a new empty "anyAttribute" element 
- 
unsetAnyAttribute
void unsetAnyAttribute()
Unsets the "anyAttribute" element 
- 
getName
java.lang.String getName()
Gets the "name" attribute 
- 
xgetName
XmlNCName xgetName()
Gets (as xml) the "name" attribute 
- 
isSetName
boolean isSetName()
True if has "name" attribute 
- 
setName
void setName(java.lang.String name)
Sets the "name" attribute 
- 
xsetName
void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute 
- 
unsetName
void unsetName()
Unsets the "name" attribute 
- 
getRef
javax.xml.namespace.QName getRef()
Gets the "ref" attribute 
- 
xgetRef
XmlQName xgetRef()
Gets (as xml) the "ref" attribute 
- 
isSetRef
boolean isSetRef()
True if has "ref" attribute 
- 
setRef
void setRef(javax.xml.namespace.QName ref)
Sets the "ref" attribute 
- 
xsetRef
void xsetRef(XmlQName ref)
Sets (as xml) the "ref" attribute 
- 
unsetRef
void unsetRef()
Unsets the "ref" attribute 
 - 
 
 -