Interface Element
- All Superinterfaces:
Annotated
,OpenAttrs
,XmlObject
,XmlTokenSource
- All Known Subinterfaces:
LocalElement
,NarrowMaxMin
,TopLevelElement
- All Known Implementing Classes:
ElementImpl
,LocalElementImpl
,NarrowMaxMinImpl
,TopLevelElementImpl
An XML element(@http://www.w3.org/2001/XMLSchema).
This is a complex type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AbstractDocumentFactory
<Element> static final SchemaType
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
-
Method Summary
Modifier and TypeMethodDescriptionAppends and returns a new empty "complexType" elementAppends and returns a new empty value (as xml) as the last "key" elementAppends and returns a new empty value (as xml) as the last "keyref" elementAppends and returns a new empty "simpleType" elementAppends and returns a new empty value (as xml) as the last "unique" elementboolean
Gets the "abstract" attributegetBlock()
Gets the "block" attributeGets the "complexType" elementGets the "default" attributegetFinal()
Gets the "final" attributegetFixed()
Gets the "fixed" attributegetForm()
Gets the "form" attributeKeybase[]
Gets array of all "key" elementsgetKeyArray
(int i) Gets ith "key" elementGets a List of "key" elementsGets array of all "keyref" elementsgetKeyrefArray
(int i) Gets ith "keyref" elementGets a List of "keyref" elementsGets the "maxOccurs" attributeGets the "minOccurs" attributegetName()
Gets the "name" attributeboolean
Gets the "nillable" attributegetRef()
Gets the "ref" attributeGets the "simpleType" elementGets the "substitutionGroup" attributegetType()
Gets the "type" attributeKeybase[]
Gets array of all "unique" elementsgetUniqueArray
(int i) Gets ith "unique" elementGets a List of "unique" elementsinsertNewKey
(int i) Inserts and returns a new empty value (as xml) as the ith "key" elementinsertNewKeyref
(int i) Inserts and returns a new empty value (as xml) as the ith "keyref" elementinsertNewUnique
(int i) Inserts and returns a new empty value (as xml) as the ith "unique" elementboolean
True if has "abstract" attributeboolean
True if has "block" attributeboolean
True if has "complexType" elementboolean
True if has "default" attributeboolean
True if has "final" attributeboolean
True if has "fixed" attributeboolean
True if has "form" attributeboolean
True if has "maxOccurs" attributeboolean
True if has "minOccurs" attributeboolean
True if has "name" attributeboolean
True if has "nillable" attributeboolean
isSetRef()
True if has "ref" attributeboolean
True if has "simpleType" elementboolean
True if has "substitutionGroup" attributeboolean
True if has "type" attributevoid
removeKey
(int i) Removes the ith "key" elementvoid
removeKeyref
(int i) Removes the ith "keyref" elementvoid
removeUnique
(int i) Removes the ith "unique" elementvoid
setAbstract
(boolean xabstract) Sets the "abstract" attributevoid
Sets the "block" attributevoid
setComplexType
(LocalComplexType complexType) Sets the "complexType" elementvoid
setDefault
(String xdefault) Sets the "default" attributevoid
Sets the "final" attributevoid
Sets the "fixed" attributevoid
setForm
(FormChoice.Enum form) Sets the "form" attributevoid
setKeyArray
(int i, Keybase key) Sets ith "key" elementvoid
setKeyArray
(Keybase[] keyArray) Sets array of all "key" elementvoid
setKeyrefArray
(int i, KeyrefDocument.Keyref keyref) Sets ith "keyref" elementvoid
setKeyrefArray
(KeyrefDocument.Keyref[] keyrefArray) Sets array of all "keyref" elementvoid
setMaxOccurs
(Object maxOccurs) Sets the "maxOccurs" attributevoid
setMinOccurs
(BigInteger minOccurs) Sets the "minOccurs" attributevoid
Sets the "name" attributevoid
setNillable
(boolean nillable) Sets the "nillable" attributevoid
Sets the "ref" attributevoid
setSimpleType
(LocalSimpleType simpleType) Sets the "simpleType" elementvoid
setSubstitutionGroup
(QName substitutionGroup) Sets the "substitutionGroup" attributevoid
Sets the "type" attributevoid
setUniqueArray
(int i, Keybase unique) Sets ith "unique" elementvoid
setUniqueArray
(Keybase[] uniqueArray) Sets array of all "unique" elementint
Returns number of "key" elementint
Returns number of "keyref" elementint
Returns number of "unique" elementvoid
Unsets the "abstract" attributevoid
Unsets the "block" attributevoid
Unsets the "complexType" elementvoid
Unsets the "default" attributevoid
Unsets the "final" attributevoid
Unsets the "fixed" attributevoid
Unsets the "form" attributevoid
Unsets the "maxOccurs" attributevoid
Unsets the "minOccurs" attributevoid
Unsets the "name" attributevoid
Unsets the "nillable" attributevoid
unsetRef()
Unsets the "ref" attributevoid
Unsets the "simpleType" elementvoid
Unsets the "substitutionGroup" attributevoid
Unsets the "type" attributeGets (as xml) the "abstract" attributeGets (as xml) the "block" attributeGets (as xml) the "default" attributeGets (as xml) the "final" attributeGets (as xml) the "fixed" attributexgetForm()
Gets (as xml) the "form" attributeGets (as xml) the "maxOccurs" attributeGets (as xml) the "minOccurs" attributexgetName()
Gets (as xml) the "name" attributeGets (as xml) the "nillable" attributexgetRef()
Gets (as xml) the "ref" attributeGets (as xml) the "substitutionGroup" attributexgetType()
Gets (as xml) the "type" attributevoid
xsetAbstract
(XmlBoolean xabstract) Sets (as xml) the "abstract" attributevoid
Sets (as xml) the "block" attributevoid
xsetDefault
(XmlString xdefault) Sets (as xml) the "default" attributevoid
xsetFinal
(DerivationSet xfinal) Sets (as xml) the "final" attributevoid
Sets (as xml) the "fixed" attributevoid
xsetForm
(FormChoice form) Sets (as xml) the "form" attributevoid
xsetMaxOccurs
(AllNNI maxOccurs) Sets (as xml) the "maxOccurs" attributevoid
xsetMinOccurs
(XmlNonNegativeInteger minOccurs) Sets (as xml) the "minOccurs" attributevoid
Sets (as xml) the "name" attributevoid
xsetNillable
(XmlBoolean nillable) Sets (as xml) the "nillable" attributevoid
Sets (as xml) the "ref" attributevoid
xsetSubstitutionGroup
(XmlQName substitutionGroup) Sets (as xml) the "substitutionGroup" attributevoid
Sets (as xml) the "type" attributeMethods 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, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
Field Details
-
Factory
-
type
-
-
Method Details
-
getSimpleType
LocalSimpleType getSimpleType()Gets the "simpleType" element -
isSetSimpleType
boolean isSetSimpleType()True if has "simpleType" element -
setSimpleType
Sets the "simpleType" element -
addNewSimpleType
LocalSimpleType addNewSimpleType()Appends and returns a new empty "simpleType" element -
unsetSimpleType
void unsetSimpleType()Unsets the "simpleType" element -
getComplexType
LocalComplexType getComplexType()Gets the "complexType" element -
isSetComplexType
boolean isSetComplexType()True if has "complexType" element -
setComplexType
Sets the "complexType" element -
addNewComplexType
LocalComplexType addNewComplexType()Appends and returns a new empty "complexType" element -
unsetComplexType
void unsetComplexType()Unsets the "complexType" element -
getUniqueList
Gets a List of "unique" elements -
getUniqueArray
Keybase[] getUniqueArray()Gets array of all "unique" elements -
getUniqueArray
Gets ith "unique" element -
sizeOfUniqueArray
int sizeOfUniqueArray()Returns number of "unique" element -
setUniqueArray
Sets array of all "unique" element -
setUniqueArray
Sets ith "unique" element -
insertNewUnique
Inserts and returns a new empty value (as xml) as the ith "unique" element -
addNewUnique
Keybase addNewUnique()Appends and returns a new empty value (as xml) as the last "unique" element -
removeUnique
void removeUnique(int i) Removes the ith "unique" element -
getKeyList
Gets a List of "key" elements -
getKeyArray
Keybase[] getKeyArray()Gets array of all "key" elements -
getKeyArray
Gets ith "key" element -
sizeOfKeyArray
int sizeOfKeyArray()Returns number of "key" element -
setKeyArray
Sets array of all "key" element -
setKeyArray
Sets ith "key" element -
insertNewKey
Inserts and returns a new empty value (as xml) as the ith "key" element -
addNewKey
Keybase addNewKey()Appends and returns a new empty value (as xml) as the last "key" element -
removeKey
void removeKey(int i) Removes the ith "key" element -
getKeyrefList
List<KeyrefDocument.Keyref> getKeyrefList()Gets a List of "keyref" elements -
getKeyrefArray
KeyrefDocument.Keyref[] getKeyrefArray()Gets array of all "keyref" elements -
getKeyrefArray
Gets ith "keyref" element -
sizeOfKeyrefArray
int sizeOfKeyrefArray()Returns number of "keyref" element -
setKeyrefArray
Sets array of all "keyref" element -
setKeyrefArray
Sets ith "keyref" element -
insertNewKeyref
Inserts and returns a new empty value (as xml) as the ith "keyref" element -
addNewKeyref
KeyrefDocument.Keyref addNewKeyref()Appends and returns a new empty value (as xml) as the last "keyref" element -
removeKeyref
void removeKeyref(int i) Removes the ith "keyref" 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 -
getRef
QName getRef()Gets the "ref" attribute -
xgetRef
XmlQName xgetRef()Gets (as xml) the "ref" attribute -
isSetRef
boolean isSetRef()True if has "ref" attribute -
setRef
Sets the "ref" attribute -
xsetRef
Sets (as xml) the "ref" attribute -
unsetRef
void unsetRef()Unsets the "ref" attribute -
getType
QName getType()Gets the "type" attribute -
xgetType
XmlQName xgetType()Gets (as xml) the "type" attribute -
isSetType
boolean isSetType()True if has "type" attribute -
setType
Sets the "type" attribute -
xsetType
Sets (as xml) the "type" attribute -
unsetType
void unsetType()Unsets the "type" attribute -
getSubstitutionGroup
QName getSubstitutionGroup()Gets the "substitutionGroup" attribute -
xgetSubstitutionGroup
XmlQName xgetSubstitutionGroup()Gets (as xml) the "substitutionGroup" attribute -
isSetSubstitutionGroup
boolean isSetSubstitutionGroup()True if has "substitutionGroup" attribute -
setSubstitutionGroup
Sets the "substitutionGroup" attribute -
xsetSubstitutionGroup
Sets (as xml) the "substitutionGroup" attribute -
unsetSubstitutionGroup
void unsetSubstitutionGroup()Unsets the "substitutionGroup" attribute -
getMinOccurs
BigInteger getMinOccurs()Gets the "minOccurs" attribute -
xgetMinOccurs
XmlNonNegativeInteger xgetMinOccurs()Gets (as xml) the "minOccurs" attribute -
isSetMinOccurs
boolean isSetMinOccurs()True if has "minOccurs" attribute -
setMinOccurs
Sets the "minOccurs" attribute -
xsetMinOccurs
Sets (as xml) the "minOccurs" attribute -
unsetMinOccurs
void unsetMinOccurs()Unsets the "minOccurs" attribute -
getMaxOccurs
Object getMaxOccurs()Gets the "maxOccurs" attribute -
xgetMaxOccurs
AllNNI xgetMaxOccurs()Gets (as xml) the "maxOccurs" attribute -
isSetMaxOccurs
boolean isSetMaxOccurs()True if has "maxOccurs" attribute -
setMaxOccurs
Sets the "maxOccurs" attribute -
xsetMaxOccurs
Sets (as xml) the "maxOccurs" attribute -
unsetMaxOccurs
void unsetMaxOccurs()Unsets the "maxOccurs" attribute -
getDefault
String getDefault()Gets the "default" attribute -
xgetDefault
XmlString xgetDefault()Gets (as xml) the "default" attribute -
isSetDefault
boolean isSetDefault()True if has "default" attribute -
setDefault
Sets the "default" attribute -
xsetDefault
Sets (as xml) the "default" attribute -
unsetDefault
void unsetDefault()Unsets the "default" attribute -
getFixed
String getFixed()Gets the "fixed" attribute -
xgetFixed
XmlString xgetFixed()Gets (as xml) the "fixed" attribute -
isSetFixed
boolean isSetFixed()True if has "fixed" attribute -
setFixed
Sets the "fixed" attribute -
xsetFixed
Sets (as xml) the "fixed" attribute -
unsetFixed
void unsetFixed()Unsets the "fixed" attribute -
getNillable
boolean getNillable()Gets the "nillable" attribute -
xgetNillable
XmlBoolean xgetNillable()Gets (as xml) the "nillable" attribute -
isSetNillable
boolean isSetNillable()True if has "nillable" attribute -
setNillable
void setNillable(boolean nillable) Sets the "nillable" attribute -
xsetNillable
Sets (as xml) the "nillable" attribute -
unsetNillable
void unsetNillable()Unsets the "nillable" 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
BlockSet 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 -
getForm
FormChoice.Enum getForm()Gets the "form" attribute -
xgetForm
FormChoice xgetForm()Gets (as xml) the "form" attribute -
isSetForm
boolean isSetForm()True if has "form" attribute -
setForm
Sets the "form" attribute -
xsetForm
Sets (as xml) the "form" attribute -
unsetForm
void unsetForm()Unsets the "form" attribute
-