Interface Element
-
- All Superinterfaces:
Annotated
,OpenAttrs
,XmlObject
,XmlTokenSource
- All Known Subinterfaces:
LocalElement
,NarrowMaxMin
,TopLevelElement
- All Known Implementing Classes:
ElementImpl
,LocalElementImpl
,NarrowMaxMinImpl
,TopLevelElementImpl
public interface Element extends Annotated
An XML element(@http://www.w3.org/2001/XMLSchema). This is a complex type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Element.Factory
A factory class with static methods for creating instances of this type.
-
Field Summary
Fields Modifier and Type Field Description static SchemaType
type
-
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 LocalComplexType
addNewComplexType()
Appends and returns a new empty "complexType" elementKeybase
addNewKey()
Appends and returns a new empty value (as xml) as the last "key" elementKeyrefDocument.Keyref
addNewKeyref()
Appends and returns a new empty value (as xml) as the last "keyref" elementLocalSimpleType
addNewSimpleType()
Appends and returns a new empty "simpleType" elementKeybase
addNewUnique()
Appends and returns a new empty value (as xml) as the last "unique" elementboolean
getAbstract()
Gets the "abstract" attributejava.lang.Object
getBlock()
Gets the "block" attributeLocalComplexType
getComplexType()
Gets the "complexType" elementjava.lang.String
getDefault()
Gets the "default" attributejava.lang.Object
getFinal()
Gets the "final" attributejava.lang.String
getFixed()
Gets the "fixed" attributeFormChoice.Enum
getForm()
Gets the "form" attributeKeybase[]
getKeyArray()
Gets array of all "key" elementsKeybase
getKeyArray(int i)
Gets ith "key" elementKeyrefDocument.Keyref[]
getKeyrefArray()
Gets array of all "keyref" elementsKeyrefDocument.Keyref
getKeyrefArray(int i)
Gets ith "keyref" elementjava.lang.Object
getMaxOccurs()
Gets the "maxOccurs" attributejava.math.BigInteger
getMinOccurs()
Gets the "minOccurs" attributejava.lang.String
getName()
Gets the "name" attributeboolean
getNillable()
Gets the "nillable" attributejavax.xml.namespace.QName
getRef()
Gets the "ref" attributeLocalSimpleType
getSimpleType()
Gets the "simpleType" elementjavax.xml.namespace.QName
getSubstitutionGroup()
Gets the "substitutionGroup" attributejavax.xml.namespace.QName
getType()
Gets the "type" attributeKeybase[]
getUniqueArray()
Gets array of all "unique" elementsKeybase
getUniqueArray(int i)
Gets ith "unique" elementKeybase
insertNewKey(int i)
Inserts and returns a new empty value (as xml) as the ith "key" elementKeyrefDocument.Keyref
insertNewKeyref(int i)
Inserts and returns a new empty value (as xml) as the ith "keyref" elementKeybase
insertNewUnique(int i)
Inserts and returns a new empty value (as xml) as the ith "unique" elementboolean
isSetAbstract()
True if has "abstract" attributeboolean
isSetBlock()
True if has "block" attributeboolean
isSetComplexType()
True if has "complexType" elementboolean
isSetDefault()
True if has "default" attributeboolean
isSetFinal()
True if has "final" attributeboolean
isSetFixed()
True if has "fixed" attributeboolean
isSetForm()
True if has "form" attributeboolean
isSetMaxOccurs()
True if has "maxOccurs" attributeboolean
isSetMinOccurs()
True if has "minOccurs" attributeboolean
isSetName()
True if has "name" attributeboolean
isSetNillable()
True if has "nillable" attributeboolean
isSetRef()
True if has "ref" attributeboolean
isSetSimpleType()
True if has "simpleType" elementboolean
isSetSubstitutionGroup()
True if has "substitutionGroup" attributeboolean
isSetType()
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
setBlock(java.lang.Object block)
Sets the "block" attributevoid
setComplexType(LocalComplexType complexType)
Sets the "complexType" elementvoid
setDefault(java.lang.String xdefault)
Sets the "default" attributevoid
setFinal(java.lang.Object xfinal)
Sets the "final" attributevoid
setFixed(java.lang.String fixed)
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(java.lang.Object maxOccurs)
Sets the "maxOccurs" attributevoid
setMinOccurs(java.math.BigInteger minOccurs)
Sets the "minOccurs" attributevoid
setName(java.lang.String name)
Sets the "name" attributevoid
setNillable(boolean nillable)
Sets the "nillable" attributevoid
setRef(javax.xml.namespace.QName ref)
Sets the "ref" attributevoid
setSimpleType(LocalSimpleType simpleType)
Sets the "simpleType" elementvoid
setSubstitutionGroup(javax.xml.namespace.QName substitutionGroup)
Sets the "substitutionGroup" attributevoid
setType(javax.xml.namespace.QName type)
Sets the "type" attributevoid
setUniqueArray(int i, Keybase unique)
Sets ith "unique" elementvoid
setUniqueArray(Keybase[] uniqueArray)
Sets array of all "unique" elementint
sizeOfKeyArray()
Returns number of "key" elementint
sizeOfKeyrefArray()
Returns number of "keyref" elementint
sizeOfUniqueArray()
Returns number of "unique" elementvoid
unsetAbstract()
Unsets the "abstract" attributevoid
unsetBlock()
Unsets the "block" attributevoid
unsetComplexType()
Unsets the "complexType" elementvoid
unsetDefault()
Unsets the "default" attributevoid
unsetFinal()
Unsets the "final" attributevoid
unsetFixed()
Unsets the "fixed" attributevoid
unsetForm()
Unsets the "form" attributevoid
unsetMaxOccurs()
Unsets the "maxOccurs" attributevoid
unsetMinOccurs()
Unsets the "minOccurs" attributevoid
unsetName()
Unsets the "name" attributevoid
unsetNillable()
Unsets the "nillable" attributevoid
unsetRef()
Unsets the "ref" attributevoid
unsetSimpleType()
Unsets the "simpleType" elementvoid
unsetSubstitutionGroup()
Unsets the "substitutionGroup" attributevoid
unsetType()
Unsets the "type" attributeXmlBoolean
xgetAbstract()
Gets (as xml) the "abstract" attributeBlockSet
xgetBlock()
Gets (as xml) the "block" attributeXmlString
xgetDefault()
Gets (as xml) the "default" attributeDerivationSet
xgetFinal()
Gets (as xml) the "final" attributeXmlString
xgetFixed()
Gets (as xml) the "fixed" attributeFormChoice
xgetForm()
Gets (as xml) the "form" attributeAllNNI
xgetMaxOccurs()
Gets (as xml) the "maxOccurs" attributeXmlNonNegativeInteger
xgetMinOccurs()
Gets (as xml) the "minOccurs" attributeXmlNCName
xgetName()
Gets (as xml) the "name" attributeXmlBoolean
xgetNillable()
Gets (as xml) the "nillable" attributeXmlQName
xgetRef()
Gets (as xml) the "ref" attributeXmlQName
xgetSubstitutionGroup()
Gets (as xml) the "substitutionGroup" attributeXmlQName
xgetType()
Gets (as xml) the "type" attributevoid
xsetAbstract(XmlBoolean xabstract)
Sets (as xml) the "abstract" attributevoid
xsetBlock(BlockSet block)
Sets (as xml) the "block" attributevoid
xsetDefault(XmlString xdefault)
Sets (as xml) the "default" attributevoid
xsetFinal(DerivationSet xfinal)
Sets (as xml) the "final" attributevoid
xsetFixed(XmlString fixed)
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
xsetName(XmlNCName name)
Sets (as xml) the "name" attributevoid
xsetNillable(XmlBoolean nillable)
Sets (as xml) the "nillable" attributevoid
xsetRef(XmlQName ref)
Sets (as xml) the "ref" attributevoid
xsetSubstitutionGroup(XmlQName substitutionGroup)
Sets (as xml) the "substitutionGroup" attributevoid
xsetType(XmlQName type)
Sets (as xml) the "type" 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
-
getSimpleType
LocalSimpleType getSimpleType()
Gets the "simpleType" element
-
isSetSimpleType
boolean isSetSimpleType()
True if has "simpleType" element
-
setSimpleType
void setSimpleType(LocalSimpleType simpleType)
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
void setComplexType(LocalComplexType complexType)
Sets the "complexType" element
-
addNewComplexType
LocalComplexType addNewComplexType()
Appends and returns a new empty "complexType" element
-
unsetComplexType
void unsetComplexType()
Unsets the "complexType" element
-
getUniqueArray
Keybase[] getUniqueArray()
Gets array of all "unique" elements
-
getUniqueArray
Keybase getUniqueArray(int i)
Gets ith "unique" element
-
sizeOfUniqueArray
int sizeOfUniqueArray()
Returns number of "unique" element
-
setUniqueArray
void setUniqueArray(Keybase[] uniqueArray)
Sets array of all "unique" element
-
setUniqueArray
void setUniqueArray(int i, Keybase unique)
Sets ith "unique" element
-
insertNewUnique
Keybase insertNewUnique(int i)
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
-
getKeyArray
Keybase[] getKeyArray()
Gets array of all "key" elements
-
getKeyArray
Keybase getKeyArray(int i)
Gets ith "key" element
-
sizeOfKeyArray
int sizeOfKeyArray()
Returns number of "key" element
-
setKeyArray
void setKeyArray(Keybase[] keyArray)
Sets array of all "key" element
-
setKeyArray
void setKeyArray(int i, Keybase key)
Sets ith "key" element
-
insertNewKey
Keybase insertNewKey(int i)
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
-
getKeyrefArray
KeyrefDocument.Keyref[] getKeyrefArray()
Gets array of all "keyref" elements
-
getKeyrefArray
KeyrefDocument.Keyref getKeyrefArray(int i)
Gets ith "keyref" element
-
sizeOfKeyrefArray
int sizeOfKeyrefArray()
Returns number of "keyref" element
-
setKeyrefArray
void setKeyrefArray(KeyrefDocument.Keyref[] keyrefArray)
Sets array of all "keyref" element
-
setKeyrefArray
void setKeyrefArray(int i, KeyrefDocument.Keyref keyref)
Sets ith "keyref" element
-
insertNewKeyref
KeyrefDocument.Keyref insertNewKeyref(int i)
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
java.lang.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(java.lang.String name)
Sets the "name" attribute
-
xsetName
void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute
-
unsetName
void unsetName()
Unsets the "name" attribute
-
getRef
javax.xml.namespace.QName getRef()
Gets the "ref" attribute
-
xgetRef
XmlQName xgetRef()
Gets (as xml) the "ref" attribute
-
isSetRef
boolean isSetRef()
True if has "ref" attribute
-
setRef
void setRef(javax.xml.namespace.QName ref)
Sets the "ref" attribute
-
xsetRef
void xsetRef(XmlQName ref)
Sets (as xml) the "ref" attribute
-
unsetRef
void unsetRef()
Unsets the "ref" attribute
-
getType
javax.xml.namespace.QName getType()
Gets the "type" attribute
-
xgetType
XmlQName xgetType()
Gets (as xml) the "type" attribute
-
isSetType
boolean isSetType()
True if has "type" attribute
-
setType
void setType(javax.xml.namespace.QName type)
Sets the "type" attribute
-
xsetType
void xsetType(XmlQName type)
Sets (as xml) the "type" attribute
-
unsetType
void unsetType()
Unsets the "type" attribute
-
getSubstitutionGroup
javax.xml.namespace.QName getSubstitutionGroup()
Gets the "substitutionGroup" attribute
-
xgetSubstitutionGroup
XmlQName xgetSubstitutionGroup()
Gets (as xml) the "substitutionGroup" attribute
-
isSetSubstitutionGroup
boolean isSetSubstitutionGroup()
True if has "substitutionGroup" attribute
-
setSubstitutionGroup
void setSubstitutionGroup(javax.xml.namespace.QName substitutionGroup)
Sets the "substitutionGroup" attribute
-
xsetSubstitutionGroup
void xsetSubstitutionGroup(XmlQName substitutionGroup)
Sets (as xml) the "substitutionGroup" attribute
-
unsetSubstitutionGroup
void unsetSubstitutionGroup()
Unsets the "substitutionGroup" attribute
-
getMinOccurs
java.math.BigInteger getMinOccurs()
Gets the "minOccurs" attribute
-
xgetMinOccurs
XmlNonNegativeInteger xgetMinOccurs()
Gets (as xml) the "minOccurs" attribute
-
isSetMinOccurs
boolean isSetMinOccurs()
True if has "minOccurs" attribute
-
setMinOccurs
void setMinOccurs(java.math.BigInteger minOccurs)
Sets the "minOccurs" attribute
-
xsetMinOccurs
void xsetMinOccurs(XmlNonNegativeInteger minOccurs)
Sets (as xml) the "minOccurs" attribute
-
unsetMinOccurs
void unsetMinOccurs()
Unsets the "minOccurs" attribute
-
getMaxOccurs
java.lang.Object getMaxOccurs()
Gets the "maxOccurs" attribute
-
xgetMaxOccurs
AllNNI xgetMaxOccurs()
Gets (as xml) the "maxOccurs" attribute
-
isSetMaxOccurs
boolean isSetMaxOccurs()
True if has "maxOccurs" attribute
-
setMaxOccurs
void setMaxOccurs(java.lang.Object maxOccurs)
Sets the "maxOccurs" attribute
-
xsetMaxOccurs
void xsetMaxOccurs(AllNNI maxOccurs)
Sets (as xml) the "maxOccurs" attribute
-
unsetMaxOccurs
void unsetMaxOccurs()
Unsets the "maxOccurs" attribute
-
getDefault
java.lang.String getDefault()
Gets the "default" attribute
-
xgetDefault
XmlString xgetDefault()
Gets (as xml) the "default" attribute
-
isSetDefault
boolean isSetDefault()
True if has "default" attribute
-
setDefault
void setDefault(java.lang.String xdefault)
Sets the "default" attribute
-
xsetDefault
void xsetDefault(XmlString xdefault)
Sets (as xml) the "default" attribute
-
unsetDefault
void unsetDefault()
Unsets the "default" attribute
-
getFixed
java.lang.String getFixed()
Gets the "fixed" attribute
-
xgetFixed
XmlString xgetFixed()
Gets (as xml) the "fixed" attribute
-
isSetFixed
boolean isSetFixed()
True if has "fixed" attribute
-
setFixed
void setFixed(java.lang.String fixed)
Sets the "fixed" attribute
-
xsetFixed
void xsetFixed(XmlString fixed)
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
void xsetNillable(XmlBoolean nillable)
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
void xsetAbstract(XmlBoolean xabstract)
Sets (as xml) the "abstract" attribute
-
unsetAbstract
void unsetAbstract()
Unsets the "abstract" attribute
-
getFinal
java.lang.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(java.lang.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
java.lang.Object getBlock()
Gets the "block" attribute
-
xgetBlock
BlockSet xgetBlock()
Gets (as xml) the "block" attribute
-
isSetBlock
boolean isSetBlock()
True if has "block" attribute
-
setBlock
void setBlock(java.lang.Object block)
Sets the "block" attribute
-
xsetBlock
void xsetBlock(BlockSet block)
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
void setForm(FormChoice.Enum form)
Sets the "form" attribute
-
xsetForm
void xsetForm(FormChoice form)
Sets (as xml) the "form" attribute
-
unsetForm
void unsetForm()
Unsets the "form" attribute
-
-