Interface ComplexType
- All Superinterfaces:
Annotated,OpenAttrs,XmlObject,XmlTokenSource
- All Known Subinterfaces:
LocalComplexType,TopLevelComplexType
- All Known Implementing Classes:
ComplexTypeImpl,LocalComplexTypeImpl,TopLevelComplexTypeImpl
An XML complexType(@http://www.w3.org/2001/XMLSchema).
This is a complex type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AbstractDocumentFactory<ComplexType> static final SchemaTypeFields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL -
Method Summary
Modifier and TypeMethodDescriptionAppends and returns a new empty "all" elementAppends and returns a new empty "anyAttribute" elementAppends and returns a new empty value (as xml) as the last "attribute" elementAppends and returns a new empty value (as xml) as the last "attributeGroup" elementAppends and returns a new empty "choice" elementAppends and returns a new empty "complexContent" elementAppends and returns a new empty "group" elementAppends and returns a new empty "sequence" elementAppends and returns a new empty "simpleContent" elementbooleanGets the "abstract" attributegetAll()Gets the "all" elementGets the "anyAttribute" elementGets array of all "attribute" elementsgetAttributeArray(int i) Gets ith "attribute" elementGets array of all "attributeGroup" elementsgetAttributeGroupArray(int i) Gets ith "attributeGroup" elementGets a List of "attributeGroup" elementsGets a List of "attribute" elementsgetBlock()Gets the "block" attributeGets the "choice" elementGets the "complexContent" elementgetFinal()Gets the "final" attributegetGroup()Gets the "group" elementbooleangetMixed()Gets the "mixed" attributegetName()Gets the "name" attributeGets the "sequence" elementGets the "simpleContent" elementinsertNewAttribute(int i) Inserts and returns a new empty value (as xml) as the ith "attribute" elementinsertNewAttributeGroup(int i) Inserts and returns a new empty value (as xml) as the ith "attributeGroup" elementbooleanTrue if has "abstract" attributebooleanisSetAll()True if has "all" elementbooleanTrue if has "anyAttribute" elementbooleanTrue if has "block" attributebooleanTrue if has "choice" elementbooleanTrue if has "complexContent" elementbooleanTrue if has "final" attributebooleanTrue if has "group" elementbooleanTrue if has "mixed" attributebooleanTrue if has "name" attributebooleanTrue if has "sequence" elementbooleanTrue if has "simpleContent" elementvoidremoveAttribute(int i) Removes the ith "attribute" elementvoidremoveAttributeGroup(int i) Removes the ith "attributeGroup" elementvoidsetAbstract(boolean xabstract) Sets the "abstract" attributevoidSets the "all" 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" elementvoidSets the "block" attributevoidsetChoice(ExplicitGroup choice) Sets the "choice" elementvoidsetComplexContent(ComplexContentDocument.ComplexContent complexContent) Sets the "complexContent" elementvoidSets the "final" attributevoidSets the "group" elementvoidsetMixed(boolean mixed) Sets the "mixed" attributevoidSets the "name" attributevoidsetSequence(ExplicitGroup sequence) Sets the "sequence" elementvoidsetSimpleContent(SimpleContentDocument.SimpleContent simpleContent) Sets the "simpleContent" elementintReturns number of "attribute" elementintReturns number of "attributeGroup" elementvoidUnsets the "abstract" attributevoidunsetAll()Unsets the "all" elementvoidUnsets the "anyAttribute" elementvoidUnsets the "block" attributevoidUnsets the "choice" elementvoidUnsets the "complexContent" elementvoidUnsets the "final" attributevoidUnsets the "group" elementvoidUnsets the "mixed" attributevoidUnsets the "name" attributevoidUnsets the "sequence" elementvoidUnsets the "simpleContent" elementGets (as xml) the "abstract" attributeGets (as xml) the "block" attributeGets (as xml) the "final" attributeGets (as xml) the "mixed" attributexgetName()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" attributevoidSets (as xml) the "name" attributeMethods inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetIdMethods 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, valueHashCodeMethods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
Field Details
-
Factory
-
type
-
-
Method Details
-
getSimpleContent
SimpleContentDocument.SimpleContent getSimpleContent()Gets the "simpleContent" element -
isSetSimpleContent
boolean isSetSimpleContent()True if has "simpleContent" element -
setSimpleContent
Sets the "simpleContent" element -
addNewSimpleContent
SimpleContentDocument.SimpleContent addNewSimpleContent()Appends and returns a new empty "simpleContent" element -
unsetSimpleContent
void unsetSimpleContent()Unsets the "simpleContent" element -
getComplexContent
ComplexContentDocument.ComplexContent getComplexContent()Gets the "complexContent" element -
isSetComplexContent
boolean isSetComplexContent()True if has "complexContent" element -
setComplexContent
Sets the "complexContent" element -
addNewComplexContent
ComplexContentDocument.ComplexContent addNewComplexContent()Appends and returns a new empty "complexContent" element -
unsetComplexContent
void unsetComplexContent()Unsets the "complexContent" element -
getGroup
GroupRef getGroup()Gets the "group" element -
isSetGroup
boolean isSetGroup()True if has "group" element -
setGroup
Sets the "group" element -
addNewGroup
GroupRef addNewGroup()Appends and returns a new empty "group" element -
unsetGroup
void unsetGroup()Unsets the "group" element -
getAll
All getAll()Gets the "all" element -
isSetAll
boolean isSetAll()True if has "all" element -
setAll
Sets the "all" element -
addNewAll
All addNewAll()Appends and returns a new empty "all" element -
unsetAll
void unsetAll()Unsets the "all" element -
getChoice
ExplicitGroup getChoice()Gets the "choice" element -
isSetChoice
boolean isSetChoice()True if has "choice" element -
setChoice
Sets the "choice" element -
addNewChoice
ExplicitGroup addNewChoice()Appends and returns a new empty "choice" element -
unsetChoice
void unsetChoice()Unsets the "choice" element -
getSequence
ExplicitGroup getSequence()Gets the "sequence" element -
isSetSequence
boolean isSetSequence()True if has "sequence" element -
setSequence
Sets the "sequence" element -
addNewSequence
ExplicitGroup addNewSequence()Appends and returns a new empty "sequence" element -
unsetSequence
void unsetSequence()Unsets the "sequence" element -
getAttributeList
Gets a List of "attribute" elements -
getAttributeArray
Attribute[] getAttributeArray()Gets array of all "attribute" elements -
getAttributeArray
Gets ith "attribute" element -
sizeOfAttributeArray
int sizeOfAttributeArray()Returns number of "attribute" element -
setAttributeArray
Sets array of all "attribute" element -
setAttributeArray
Sets ith "attribute" element -
insertNewAttribute
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 -
getAttributeGroupList
List<AttributeGroupRef> getAttributeGroupList()Gets a List of "attributeGroup" elements -
getAttributeGroupArray
AttributeGroupRef[] getAttributeGroupArray()Gets array of all "attributeGroup" elements -
getAttributeGroupArray
Gets ith "attributeGroup" element -
sizeOfAttributeGroupArray
int sizeOfAttributeGroupArray()Returns number of "attributeGroup" element -
setAttributeGroupArray
Sets array of all "attributeGroup" element -
setAttributeGroupArray
Sets ith "attributeGroup" element -
insertNewAttributeGroup
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
Sets the "anyAttribute" element -
addNewAnyAttribute
Wildcard addNewAnyAttribute()Appends and returns a new empty "anyAttribute" element -
unsetAnyAttribute
void unsetAnyAttribute()Unsets the "anyAttribute" element -
getName
String getName()Gets the "name" attribute -
xgetName
XmlNCName xgetName()Gets (as xml) the "name" attribute -
isSetName
boolean isSetName()True if has "name" attribute -
setName
Sets the "name" attribute -
xsetName
Sets (as xml) the "name" attribute -
unsetName
void unsetName()Unsets the "name" attribute -
getMixed
boolean getMixed()Gets the "mixed" attribute -
xgetMixed
XmlBoolean xgetMixed()Gets (as xml) the "mixed" attribute -
isSetMixed
boolean isSetMixed()True if has "mixed" attribute -
setMixed
void setMixed(boolean mixed) Sets the "mixed" attribute -
xsetMixed
Sets (as xml) the "mixed" attribute -
unsetMixed
void unsetMixed()Unsets the "mixed" attribute -
getAbstract
boolean getAbstract()Gets the "abstract" attribute -
xgetAbstract
XmlBoolean xgetAbstract()Gets (as xml) the "abstract" attribute -
isSetAbstract
boolean isSetAbstract()True if has "abstract" attribute -
setAbstract
void setAbstract(boolean xabstract) Sets the "abstract" attribute -
xsetAbstract
Sets (as xml) the "abstract" attribute -
unsetAbstract
void unsetAbstract()Unsets the "abstract" attribute -
getFinal
Object getFinal()Gets the "final" attribute -
xgetFinal
DerivationSet xgetFinal()Gets (as xml) the "final" attribute -
isSetFinal
boolean isSetFinal()True if has "final" attribute -
setFinal
Sets the "final" attribute -
xsetFinal
Sets (as xml) the "final" attribute -
unsetFinal
void unsetFinal()Unsets the "final" attribute -
getBlock
Object getBlock()Gets the "block" attribute -
xgetBlock
DerivationSet xgetBlock()Gets (as xml) the "block" attribute -
isSetBlock
boolean isSetBlock()True if has "block" attribute -
setBlock
Sets the "block" attribute -
xsetBlock
Sets (as xml) the "block" attribute -
unsetBlock
void unsetBlock()Unsets the "block" attribute
-