Class ComplexTypeImpl
- 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.ComplexTypeImpl
-
- All Implemented Interfaces:
Serializable,TypeStoreUser,Annotated,ComplexType,OpenAttrs,SimpleValue,XmlObject,XmlTokenSource
- Direct Known Subclasses:
LocalComplexTypeImpl,TopLevelComplexTypeImpl
public class ComplexTypeImpl extends AnnotatedImpl implements ComplexType
An XML complexType(@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.ComplexType
ComplexType.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.ComplexType
type
-
-
Constructor Summary
Constructors Constructor Description ComplexTypeImpl(SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlladdNewAll()Appends and returns a new empty "all" elementWildcardaddNewAnyAttribute()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" elementExplicitGroupaddNewChoice()Appends and returns a new empty "choice" elementComplexContentDocument.ComplexContentaddNewComplexContent()Appends and returns a new empty "complexContent" elementGroupRefaddNewGroup()Appends and returns a new empty "group" elementExplicitGroupaddNewSequence()Appends and returns a new empty "sequence" elementSimpleContentDocument.SimpleContentaddNewSimpleContent()Appends and returns a new empty "simpleContent" elementbooleangetAbstract()Gets the "abstract" attributeAllgetAll()Gets the "all" 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" elementObjectgetBlock()Gets the "block" attributeExplicitGroupgetChoice()Gets the "choice" elementComplexContentDocument.ComplexContentgetComplexContent()Gets the "complexContent" elementObjectgetFinal()Gets the "final" attributeGroupRefgetGroup()Gets the "group" elementbooleangetMixed()Gets the "mixed" attributeStringgetName()Gets the "name" attributeExplicitGroupgetSequence()Gets the "sequence" elementSimpleContentDocument.SimpleContentgetSimpleContent()Gets the "simpleContent" elementAttributeinsertNewAttribute(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" elementbooleanisSetAbstract()True if has "abstract" attributebooleanisSetAll()True if has "all" elementbooleanisSetAnyAttribute()True if has "anyAttribute" elementbooleanisSetBlock()True if has "block" attributebooleanisSetChoice()True if has "choice" elementbooleanisSetComplexContent()True if has "complexContent" elementbooleanisSetFinal()True if has "final" attributebooleanisSetGroup()True if has "group" elementbooleanisSetMixed()True if has "mixed" attributebooleanisSetName()True if has "name" attributebooleanisSetSequence()True if has "sequence" elementbooleanisSetSimpleContent()True if has "simpleContent" elementvoidremoveAttribute(int i)Removes the ith "attribute" elementvoidremoveAttributeGroup(int i)Removes the ith "attributeGroup" elementvoidsetAbstract(boolean xabstract)Sets the "abstract" attributevoidsetAll(All all)Sets the "all" 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.voidsetBlock(Object block)Sets the "block" attributevoidsetChoice(ExplicitGroup choice)Sets the "choice" elementvoidsetComplexContent(ComplexContentDocument.ComplexContent complexContent)Sets the "complexContent" elementvoidsetFinal(Object xfinal)Sets the "final" attributevoidsetGroup(GroupRef group)Sets the "group" elementvoidsetMixed(boolean mixed)Sets the "mixed" attributevoidsetName(String name)Sets the "name" attributevoidsetSequence(ExplicitGroup sequence)Sets the "sequence" elementvoidsetSimpleContent(SimpleContentDocument.SimpleContent simpleContent)Sets the "simpleContent" elementintsizeOfAttributeArray()Returns number of "attribute" elementintsizeOfAttributeGroupArray()Returns number of "attributeGroup" elementvoidunsetAbstract()Unsets the "abstract" attributevoidunsetAll()Unsets the "all" elementvoidunsetAnyAttribute()Unsets the "anyAttribute" elementvoidunsetBlock()Unsets the "block" attributevoidunsetChoice()Unsets the "choice" elementvoidunsetComplexContent()Unsets the "complexContent" elementvoidunsetFinal()Unsets the "final" attributevoidunsetGroup()Unsets the "group" elementvoidunsetMixed()Unsets the "mixed" attributevoidunsetName()Unsets the "name" attributevoidunsetSequence()Unsets the "sequence" elementvoidunsetSimpleContent()Unsets the "simpleContent" elementXmlBooleanxgetAbstract()Gets (as xml) the "abstract" attributeDerivationSetxgetBlock()Gets (as xml) the "block" attributeDerivationSetxgetFinal()Gets (as xml) the "final" attributeXmlBooleanxgetMixed()Gets (as xml) the "mixed" attributeXmlNCNamexgetName()Gets (as xml) the "name" attributevoidxsetAbstract(XmlBoolean xabstract)Sets (as xml) the "abstract" attributevoidxsetBlock(DerivationSet block)Sets (as xml) the "block" attributevoidxsetFinal(DerivationSet xfinal)Sets (as xml) the "final" attributevoidxsetMixed(XmlBoolean mixed)Sets (as xml) the "mixed" attributevoidxsetName(XmlNCName name)Sets (as xml) the "name" 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
-
ComplexTypeImpl
public ComplexTypeImpl(SchemaType sType)
-
-
Method Detail
-
getSimpleContent
public SimpleContentDocument.SimpleContent getSimpleContent()
Gets the "simpleContent" element- Specified by:
getSimpleContentin interfaceComplexType
-
isSetSimpleContent
public boolean isSetSimpleContent()
True if has "simpleContent" element- Specified by:
isSetSimpleContentin interfaceComplexType
-
setSimpleContent
public void setSimpleContent(SimpleContentDocument.SimpleContent simpleContent)
Sets the "simpleContent" element- Specified by:
setSimpleContentin interfaceComplexType
-
addNewSimpleContent
public SimpleContentDocument.SimpleContent addNewSimpleContent()
Appends and returns a new empty "simpleContent" element- Specified by:
addNewSimpleContentin interfaceComplexType
-
unsetSimpleContent
public void unsetSimpleContent()
Unsets the "simpleContent" element- Specified by:
unsetSimpleContentin interfaceComplexType
-
getComplexContent
public ComplexContentDocument.ComplexContent getComplexContent()
Gets the "complexContent" element- Specified by:
getComplexContentin interfaceComplexType
-
isSetComplexContent
public boolean isSetComplexContent()
True if has "complexContent" element- Specified by:
isSetComplexContentin interfaceComplexType
-
setComplexContent
public void setComplexContent(ComplexContentDocument.ComplexContent complexContent)
Sets the "complexContent" element- Specified by:
setComplexContentin interfaceComplexType
-
addNewComplexContent
public ComplexContentDocument.ComplexContent addNewComplexContent()
Appends and returns a new empty "complexContent" element- Specified by:
addNewComplexContentin interfaceComplexType
-
unsetComplexContent
public void unsetComplexContent()
Unsets the "complexContent" element- Specified by:
unsetComplexContentin interfaceComplexType
-
getGroup
public GroupRef getGroup()
Gets the "group" element- Specified by:
getGroupin interfaceComplexType
-
isSetGroup
public boolean isSetGroup()
True if has "group" element- Specified by:
isSetGroupin interfaceComplexType
-
setGroup
public void setGroup(GroupRef group)
Sets the "group" element- Specified by:
setGroupin interfaceComplexType
-
addNewGroup
public GroupRef addNewGroup()
Appends and returns a new empty "group" element- Specified by:
addNewGroupin interfaceComplexType
-
unsetGroup
public void unsetGroup()
Unsets the "group" element- Specified by:
unsetGroupin interfaceComplexType
-
getAll
public All getAll()
Gets the "all" element- Specified by:
getAllin interfaceComplexType
-
isSetAll
public boolean isSetAll()
True if has "all" element- Specified by:
isSetAllin interfaceComplexType
-
setAll
public void setAll(All all)
Sets the "all" element- Specified by:
setAllin interfaceComplexType
-
addNewAll
public All addNewAll()
Appends and returns a new empty "all" element- Specified by:
addNewAllin interfaceComplexType
-
unsetAll
public void unsetAll()
Unsets the "all" element- Specified by:
unsetAllin interfaceComplexType
-
getChoice
public ExplicitGroup getChoice()
Gets the "choice" element- Specified by:
getChoicein interfaceComplexType
-
isSetChoice
public boolean isSetChoice()
True if has "choice" element- Specified by:
isSetChoicein interfaceComplexType
-
setChoice
public void setChoice(ExplicitGroup choice)
Sets the "choice" element- Specified by:
setChoicein interfaceComplexType
-
addNewChoice
public ExplicitGroup addNewChoice()
Appends and returns a new empty "choice" element- Specified by:
addNewChoicein interfaceComplexType
-
unsetChoice
public void unsetChoice()
Unsets the "choice" element- Specified by:
unsetChoicein interfaceComplexType
-
getSequence
public ExplicitGroup getSequence()
Gets the "sequence" element- Specified by:
getSequencein interfaceComplexType
-
isSetSequence
public boolean isSetSequence()
True if has "sequence" element- Specified by:
isSetSequencein interfaceComplexType
-
setSequence
public void setSequence(ExplicitGroup sequence)
Sets the "sequence" element- Specified by:
setSequencein interfaceComplexType
-
addNewSequence
public ExplicitGroup addNewSequence()
Appends and returns a new empty "sequence" element- Specified by:
addNewSequencein interfaceComplexType
-
unsetSequence
public void unsetSequence()
Unsets the "sequence" element- Specified by:
unsetSequencein interfaceComplexType
-
getAttributeArray
public Attribute[] getAttributeArray()
Gets array of all "attribute" elements- Specified by:
getAttributeArrayin interfaceComplexType
-
getAttributeArray
public Attribute getAttributeArray(int i)
Gets ith "attribute" element- Specified by:
getAttributeArrayin interfaceComplexType
-
sizeOfAttributeArray
public int sizeOfAttributeArray()
Returns number of "attribute" element- Specified by:
sizeOfAttributeArrayin interfaceComplexType
-
setAttributeArray
public void setAttributeArray(Attribute[] attributeArray)
Sets array of all "attribute" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAttributeArrayin interfaceComplexType
-
setAttributeArray
public void setAttributeArray(int i, Attribute attribute)Sets ith "attribute" element- Specified by:
setAttributeArrayin interfaceComplexType
-
insertNewAttribute
public Attribute insertNewAttribute(int i)
Inserts and returns a new empty value (as xml) as the ith "attribute" element- Specified by:
insertNewAttributein interfaceComplexType
-
addNewAttribute
public Attribute addNewAttribute()
Appends and returns a new empty value (as xml) as the last "attribute" element- Specified by:
addNewAttributein interfaceComplexType
-
removeAttribute
public void removeAttribute(int i)
Removes the ith "attribute" element- Specified by:
removeAttributein interfaceComplexType
-
getAttributeGroupArray
public AttributeGroupRef[] getAttributeGroupArray()
Gets array of all "attributeGroup" elements- Specified by:
getAttributeGroupArrayin interfaceComplexType
-
getAttributeGroupArray
public AttributeGroupRef getAttributeGroupArray(int i)
Gets ith "attributeGroup" element- Specified by:
getAttributeGroupArrayin interfaceComplexType
-
sizeOfAttributeGroupArray
public int sizeOfAttributeGroupArray()
Returns number of "attributeGroup" element- Specified by:
sizeOfAttributeGroupArrayin interfaceComplexType
-
setAttributeGroupArray
public void setAttributeGroupArray(AttributeGroupRef[] attributeGroupArray)
Sets array of all "attributeGroup" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAttributeGroupArrayin interfaceComplexType
-
setAttributeGroupArray
public void setAttributeGroupArray(int i, AttributeGroupRef attributeGroup)Sets ith "attributeGroup" element- Specified by:
setAttributeGroupArrayin interfaceComplexType
-
insertNewAttributeGroup
public AttributeGroupRef insertNewAttributeGroup(int i)
Inserts and returns a new empty value (as xml) as the ith "attributeGroup" element- Specified by:
insertNewAttributeGroupin interfaceComplexType
-
addNewAttributeGroup
public AttributeGroupRef addNewAttributeGroup()
Appends and returns a new empty value (as xml) as the last "attributeGroup" element- Specified by:
addNewAttributeGroupin interfaceComplexType
-
removeAttributeGroup
public void removeAttributeGroup(int i)
Removes the ith "attributeGroup" element- Specified by:
removeAttributeGroupin interfaceComplexType
-
getAnyAttribute
public Wildcard getAnyAttribute()
Gets the "anyAttribute" element- Specified by:
getAnyAttributein interfaceComplexType
-
isSetAnyAttribute
public boolean isSetAnyAttribute()
True if has "anyAttribute" element- Specified by:
isSetAnyAttributein interfaceComplexType
-
setAnyAttribute
public void setAnyAttribute(Wildcard anyAttribute)
Sets the "anyAttribute" element- Specified by:
setAnyAttributein interfaceComplexType
-
addNewAnyAttribute
public Wildcard addNewAnyAttribute()
Appends and returns a new empty "anyAttribute" element- Specified by:
addNewAnyAttributein interfaceComplexType
-
unsetAnyAttribute
public void unsetAnyAttribute()
Unsets the "anyAttribute" element- Specified by:
unsetAnyAttributein interfaceComplexType
-
getName
public String getName()
Gets the "name" attribute- Specified by:
getNamein interfaceComplexType
-
xgetName
public XmlNCName xgetName()
Gets (as xml) the "name" attribute- Specified by:
xgetNamein interfaceComplexType
-
isSetName
public boolean isSetName()
True if has "name" attribute- Specified by:
isSetNamein interfaceComplexType
-
setName
public void setName(String name)
Sets the "name" attribute- Specified by:
setNamein interfaceComplexType
-
xsetName
public void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute- Specified by:
xsetNamein interfaceComplexType
-
unsetName
public void unsetName()
Unsets the "name" attribute- Specified by:
unsetNamein interfaceComplexType
-
getMixed
public boolean getMixed()
Gets the "mixed" attribute- Specified by:
getMixedin interfaceComplexType
-
xgetMixed
public XmlBoolean xgetMixed()
Gets (as xml) the "mixed" attribute- Specified by:
xgetMixedin interfaceComplexType
-
isSetMixed
public boolean isSetMixed()
True if has "mixed" attribute- Specified by:
isSetMixedin interfaceComplexType
-
setMixed
public void setMixed(boolean mixed)
Sets the "mixed" attribute- Specified by:
setMixedin interfaceComplexType
-
xsetMixed
public void xsetMixed(XmlBoolean mixed)
Sets (as xml) the "mixed" attribute- Specified by:
xsetMixedin interfaceComplexType
-
unsetMixed
public void unsetMixed()
Unsets the "mixed" attribute- Specified by:
unsetMixedin interfaceComplexType
-
getAbstract
public boolean getAbstract()
Gets the "abstract" attribute- Specified by:
getAbstractin interfaceComplexType
-
xgetAbstract
public XmlBoolean xgetAbstract()
Gets (as xml) the "abstract" attribute- Specified by:
xgetAbstractin interfaceComplexType
-
isSetAbstract
public boolean isSetAbstract()
True if has "abstract" attribute- Specified by:
isSetAbstractin interfaceComplexType
-
setAbstract
public void setAbstract(boolean xabstract)
Sets the "abstract" attribute- Specified by:
setAbstractin interfaceComplexType
-
xsetAbstract
public void xsetAbstract(XmlBoolean xabstract)
Sets (as xml) the "abstract" attribute- Specified by:
xsetAbstractin interfaceComplexType
-
unsetAbstract
public void unsetAbstract()
Unsets the "abstract" attribute- Specified by:
unsetAbstractin interfaceComplexType
-
getFinal
public Object getFinal()
Gets the "final" attribute- Specified by:
getFinalin interfaceComplexType
-
xgetFinal
public DerivationSet xgetFinal()
Gets (as xml) the "final" attribute- Specified by:
xgetFinalin interfaceComplexType
-
isSetFinal
public boolean isSetFinal()
True if has "final" attribute- Specified by:
isSetFinalin interfaceComplexType
-
setFinal
public void setFinal(Object xfinal)
Sets the "final" attribute- Specified by:
setFinalin interfaceComplexType
-
xsetFinal
public void xsetFinal(DerivationSet xfinal)
Sets (as xml) the "final" attribute- Specified by:
xsetFinalin interfaceComplexType
-
unsetFinal
public void unsetFinal()
Unsets the "final" attribute- Specified by:
unsetFinalin interfaceComplexType
-
getBlock
public Object getBlock()
Gets the "block" attribute- Specified by:
getBlockin interfaceComplexType
-
xgetBlock
public DerivationSet xgetBlock()
Gets (as xml) the "block" attribute- Specified by:
xgetBlockin interfaceComplexType
-
isSetBlock
public boolean isSetBlock()
True if has "block" attribute- Specified by:
isSetBlockin interfaceComplexType
-
setBlock
public void setBlock(Object block)
Sets the "block" attribute- Specified by:
setBlockin interfaceComplexType
-
xsetBlock
public void xsetBlock(DerivationSet block)
Sets (as xml) the "block" attribute- Specified by:
xsetBlockin interfaceComplexType
-
unsetBlock
public void unsetBlock()
Unsets the "block" attribute- Specified by:
unsetBlockin interfaceComplexType
-
-