Interface ComplexType
-
- All Superinterfaces:
Annotated,OpenAttrs,XmlObject,XmlTokenSource
- All Known Subinterfaces:
LocalComplexType,TopLevelComplexType
- All Known Implementing Classes:
ComplexTypeImpl,LocalComplexTypeImpl,TopLevelComplexTypeImpl
public interface ComplexType extends Annotated
An XML complexType(@http://www.w3.org/2001/XMLSchema). This is a complex type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComplexType.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 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" elementvoidsetAttributeGroupArray(int i, AttributeGroupRef attributeGroup)Sets ith "attributeGroup" elementvoidsetAttributeGroupArray(AttributeGroupRef[] attributeGroupArray)Sets array of all "attributeGroup" elementvoidsetBlock(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 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
-
getSimpleContent
SimpleContentDocument.SimpleContent getSimpleContent()
Gets the "simpleContent" element
-
isSetSimpleContent
boolean isSetSimpleContent()
True if has "simpleContent" element
-
setSimpleContent
void setSimpleContent(SimpleContentDocument.SimpleContent simpleContent)
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
void setComplexContent(ComplexContentDocument.ComplexContent complexContent)
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
void setGroup(GroupRef group)
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
void setAll(All all)
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
void setChoice(ExplicitGroup choice)
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
void setSequence(ExplicitGroup sequence)
Sets the "sequence" element
-
addNewSequence
ExplicitGroup addNewSequence()
Appends and returns a new empty "sequence" element
-
unsetSequence
void unsetSequence()
Unsets the "sequence" element
-
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
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(String name)
Sets the "name" attribute
-
xsetName
void xsetName(XmlNCName name)
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
void xsetMixed(XmlBoolean mixed)
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
void xsetAbstract(XmlBoolean xabstract)
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
void setFinal(Object xfinal)
Sets the "final" attribute
-
xsetFinal
void xsetFinal(DerivationSet xfinal)
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
void setBlock(Object block)
Sets the "block" attribute
-
xsetBlock
void xsetBlock(DerivationSet block)
Sets (as xml) the "block" attribute
-
unsetBlock
void unsetBlock()
Unsets the "block" attribute
-
-