Class AttributeGroupImpl
- java.lang.Object
-
- org.apache.xmlbeans.impl.values.XmlObjectBase
-
- org.apache.xmlbeans.impl.values.XmlComplexContentImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.OpenAttrsImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.AttributeGroupImpl
-
- All Implemented Interfaces:
java.io.Serializable,TypeStoreUser,Annotated,AttributeGroup,OpenAttrs,SimpleValue,XmlObject,XmlTokenSource
- Direct Known Subclasses:
AttributeGroupRefImpl,NamedAttributeGroupImpl
public class AttributeGroupImpl extends AnnotatedImpl implements AttributeGroup
An XML attributeGroup(@http://www.w3.org/2001/XMLSchema). This is a complex type.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
Annotated.Factory
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.AttributeGroup
AttributeGroup.Factory
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.OpenAttrs
OpenAttrs.Factory
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.XmlObject
XmlObject.Factory
-
-
Field Summary
-
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
-
Fields inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.AttributeGroup
type
-
-
Constructor Summary
Constructors Constructor Description AttributeGroupImpl(SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete 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" element WARNING: This method is not atomicaly synchronized.voidsetAttributeGroupArray(int i, AttributeGroupRef attributeGroup)Sets ith "attributeGroup" elementvoidsetAttributeGroupArray(AttributeGroupRef[] attributeGroupArray)Sets array of all "attributeGroup" element WARNING: This method is not atomicaly synchronized.voidsetName(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 class org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetId
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl
compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_text
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_copy, _copy, _set, attach_store, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, hashCode, init_flags, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, listValue, longValue, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set_newValue, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText
-
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
-
-
-
-
Constructor Detail
-
AttributeGroupImpl
public AttributeGroupImpl(SchemaType sType)
-
-
Method Detail
-
getAttributeArray
public Attribute[] getAttributeArray()
Gets array of all "attribute" elements- Specified by:
getAttributeArrayin interfaceAttributeGroup
-
getAttributeArray
public Attribute getAttributeArray(int i)
Gets ith "attribute" element- Specified by:
getAttributeArrayin interfaceAttributeGroup
-
sizeOfAttributeArray
public int sizeOfAttributeArray()
Returns number of "attribute" element- Specified by:
sizeOfAttributeArrayin interfaceAttributeGroup
-
setAttributeArray
public void setAttributeArray(Attribute[] attributeArray)
Sets array of all "attribute" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAttributeArrayin interfaceAttributeGroup
-
setAttributeArray
public void setAttributeArray(int i, Attribute attribute)Sets ith "attribute" element- Specified by:
setAttributeArrayin interfaceAttributeGroup
-
insertNewAttribute
public Attribute insertNewAttribute(int i)
Inserts and returns a new empty value (as xml) as the ith "attribute" element- Specified by:
insertNewAttributein interfaceAttributeGroup
-
addNewAttribute
public Attribute addNewAttribute()
Appends and returns a new empty value (as xml) as the last "attribute" element- Specified by:
addNewAttributein interfaceAttributeGroup
-
removeAttribute
public void removeAttribute(int i)
Removes the ith "attribute" element- Specified by:
removeAttributein interfaceAttributeGroup
-
getAttributeGroupArray
public AttributeGroupRef[] getAttributeGroupArray()
Gets array of all "attributeGroup" elements- Specified by:
getAttributeGroupArrayin interfaceAttributeGroup
-
getAttributeGroupArray
public AttributeGroupRef getAttributeGroupArray(int i)
Gets ith "attributeGroup" element- Specified by:
getAttributeGroupArrayin interfaceAttributeGroup
-
sizeOfAttributeGroupArray
public int sizeOfAttributeGroupArray()
Returns number of "attributeGroup" element- Specified by:
sizeOfAttributeGroupArrayin interfaceAttributeGroup
-
setAttributeGroupArray
public void setAttributeGroupArray(AttributeGroupRef[] attributeGroupArray)
Sets array of all "attributeGroup" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAttributeGroupArrayin interfaceAttributeGroup
-
setAttributeGroupArray
public void setAttributeGroupArray(int i, AttributeGroupRef attributeGroup)Sets ith "attributeGroup" element- Specified by:
setAttributeGroupArrayin interfaceAttributeGroup
-
insertNewAttributeGroup
public AttributeGroupRef insertNewAttributeGroup(int i)
Inserts and returns a new empty value (as xml) as the ith "attributeGroup" element- Specified by:
insertNewAttributeGroupin interfaceAttributeGroup
-
addNewAttributeGroup
public AttributeGroupRef addNewAttributeGroup()
Appends and returns a new empty value (as xml) as the last "attributeGroup" element- Specified by:
addNewAttributeGroupin interfaceAttributeGroup
-
removeAttributeGroup
public void removeAttributeGroup(int i)
Removes the ith "attributeGroup" element- Specified by:
removeAttributeGroupin interfaceAttributeGroup
-
getAnyAttribute
public Wildcard getAnyAttribute()
Gets the "anyAttribute" element- Specified by:
getAnyAttributein interfaceAttributeGroup
-
isSetAnyAttribute
public boolean isSetAnyAttribute()
True if has "anyAttribute" element- Specified by:
isSetAnyAttributein interfaceAttributeGroup
-
setAnyAttribute
public void setAnyAttribute(Wildcard anyAttribute)
Sets the "anyAttribute" element- Specified by:
setAnyAttributein interfaceAttributeGroup
-
addNewAnyAttribute
public Wildcard addNewAnyAttribute()
Appends and returns a new empty "anyAttribute" element- Specified by:
addNewAnyAttributein interfaceAttributeGroup
-
unsetAnyAttribute
public void unsetAnyAttribute()
Unsets the "anyAttribute" element- Specified by:
unsetAnyAttributein interfaceAttributeGroup
-
getName
public java.lang.String getName()
Gets the "name" attribute- Specified by:
getNamein interfaceAttributeGroup
-
xgetName
public XmlNCName xgetName()
Gets (as xml) the "name" attribute- Specified by:
xgetNamein interfaceAttributeGroup
-
isSetName
public boolean isSetName()
True if has "name" attribute- Specified by:
isSetNamein interfaceAttributeGroup
-
setName
public void setName(java.lang.String name)
Sets the "name" attribute- Specified by:
setNamein interfaceAttributeGroup
-
xsetName
public void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute- Specified by:
xsetNamein interfaceAttributeGroup
-
unsetName
public void unsetName()
Unsets the "name" attribute- Specified by:
unsetNamein interfaceAttributeGroup
-
getRef
public javax.xml.namespace.QName getRef()
Gets the "ref" attribute- Specified by:
getRefin interfaceAttributeGroup
-
xgetRef
public XmlQName xgetRef()
Gets (as xml) the "ref" attribute- Specified by:
xgetRefin interfaceAttributeGroup
-
isSetRef
public boolean isSetRef()
True if has "ref" attribute- Specified by:
isSetRefin interfaceAttributeGroup
-
setRef
public void setRef(javax.xml.namespace.QName ref)
Sets the "ref" attribute- Specified by:
setRefin interfaceAttributeGroup
-
xsetRef
public void xsetRef(XmlQName ref)
Sets (as xml) the "ref" attribute- Specified by:
xsetRefin interfaceAttributeGroup
-
unsetRef
public void unsetRef()
Unsets the "ref" attribute- Specified by:
unsetRefin interfaceAttributeGroup
-
-