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 classElement.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 LocalComplexTypeaddNewComplexType()Appends and returns a new empty "complexType" elementKeybaseaddNewKey()Appends and returns a new empty value (as xml) as the last "key" elementKeyrefDocument.KeyrefaddNewKeyref()Appends and returns a new empty value (as xml) as the last "keyref" elementLocalSimpleTypeaddNewSimpleType()Appends and returns a new empty "simpleType" elementKeybaseaddNewUnique()Appends and returns a new empty value (as xml) as the last "unique" elementbooleangetAbstract()Gets the "abstract" attributejava.lang.ObjectgetBlock()Gets the "block" attributeLocalComplexTypegetComplexType()Gets the "complexType" elementjava.lang.StringgetDefault()Gets the "default" attributejava.lang.ObjectgetFinal()Gets the "final" attributejava.lang.StringgetFixed()Gets the "fixed" attributeFormChoice.EnumgetForm()Gets the "form" attributeKeybase[]getKeyArray()Gets array of all "key" elementsKeybasegetKeyArray(int i)Gets ith "key" elementKeyrefDocument.Keyref[]getKeyrefArray()Gets array of all "keyref" elementsKeyrefDocument.KeyrefgetKeyrefArray(int i)Gets ith "keyref" elementjava.lang.ObjectgetMaxOccurs()Gets the "maxOccurs" attributejava.math.BigIntegergetMinOccurs()Gets the "minOccurs" attributejava.lang.StringgetName()Gets the "name" attributebooleangetNillable()Gets the "nillable" attributejavax.xml.namespace.QNamegetRef()Gets the "ref" attributeLocalSimpleTypegetSimpleType()Gets the "simpleType" elementjavax.xml.namespace.QNamegetSubstitutionGroup()Gets the "substitutionGroup" attributejavax.xml.namespace.QNamegetType()Gets the "type" attributeKeybase[]getUniqueArray()Gets array of all "unique" elementsKeybasegetUniqueArray(int i)Gets ith "unique" elementKeybaseinsertNewKey(int i)Inserts and returns a new empty value (as xml) as the ith "key" elementKeyrefDocument.KeyrefinsertNewKeyref(int i)Inserts and returns a new empty value (as xml) as the ith "keyref" elementKeybaseinsertNewUnique(int i)Inserts and returns a new empty value (as xml) as the ith "unique" elementbooleanisSetAbstract()True if has "abstract" attributebooleanisSetBlock()True if has "block" attributebooleanisSetComplexType()True if has "complexType" elementbooleanisSetDefault()True if has "default" attributebooleanisSetFinal()True if has "final" attributebooleanisSetFixed()True if has "fixed" attributebooleanisSetForm()True if has "form" attributebooleanisSetMaxOccurs()True if has "maxOccurs" attributebooleanisSetMinOccurs()True if has "minOccurs" attributebooleanisSetName()True if has "name" attributebooleanisSetNillable()True if has "nillable" attributebooleanisSetRef()True if has "ref" attributebooleanisSetSimpleType()True if has "simpleType" elementbooleanisSetSubstitutionGroup()True if has "substitutionGroup" attributebooleanisSetType()True if has "type" attributevoidremoveKey(int i)Removes the ith "key" elementvoidremoveKeyref(int i)Removes the ith "keyref" elementvoidremoveUnique(int i)Removes the ith "unique" elementvoidsetAbstract(boolean xabstract)Sets the "abstract" attributevoidsetBlock(java.lang.Object block)Sets the "block" attributevoidsetComplexType(LocalComplexType complexType)Sets the "complexType" elementvoidsetDefault(java.lang.String xdefault)Sets the "default" attributevoidsetFinal(java.lang.Object xfinal)Sets the "final" attributevoidsetFixed(java.lang.String fixed)Sets the "fixed" attributevoidsetForm(FormChoice.Enum form)Sets the "form" attributevoidsetKeyArray(int i, Keybase key)Sets ith "key" elementvoidsetKeyArray(Keybase[] keyArray)Sets array of all "key" elementvoidsetKeyrefArray(int i, KeyrefDocument.Keyref keyref)Sets ith "keyref" elementvoidsetKeyrefArray(KeyrefDocument.Keyref[] keyrefArray)Sets array of all "keyref" elementvoidsetMaxOccurs(java.lang.Object maxOccurs)Sets the "maxOccurs" attributevoidsetMinOccurs(java.math.BigInteger minOccurs)Sets the "minOccurs" attributevoidsetName(java.lang.String name)Sets the "name" attributevoidsetNillable(boolean nillable)Sets the "nillable" attributevoidsetRef(javax.xml.namespace.QName ref)Sets the "ref" attributevoidsetSimpleType(LocalSimpleType simpleType)Sets the "simpleType" elementvoidsetSubstitutionGroup(javax.xml.namespace.QName substitutionGroup)Sets the "substitutionGroup" attributevoidsetType(javax.xml.namespace.QName type)Sets the "type" attributevoidsetUniqueArray(int i, Keybase unique)Sets ith "unique" elementvoidsetUniqueArray(Keybase[] uniqueArray)Sets array of all "unique" elementintsizeOfKeyArray()Returns number of "key" elementintsizeOfKeyrefArray()Returns number of "keyref" elementintsizeOfUniqueArray()Returns number of "unique" elementvoidunsetAbstract()Unsets the "abstract" attributevoidunsetBlock()Unsets the "block" attributevoidunsetComplexType()Unsets the "complexType" elementvoidunsetDefault()Unsets the "default" attributevoidunsetFinal()Unsets the "final" attributevoidunsetFixed()Unsets the "fixed" attributevoidunsetForm()Unsets the "form" attributevoidunsetMaxOccurs()Unsets the "maxOccurs" attributevoidunsetMinOccurs()Unsets the "minOccurs" attributevoidunsetName()Unsets the "name" attributevoidunsetNillable()Unsets the "nillable" attributevoidunsetRef()Unsets the "ref" attributevoidunsetSimpleType()Unsets the "simpleType" elementvoidunsetSubstitutionGroup()Unsets the "substitutionGroup" attributevoidunsetType()Unsets the "type" attributeXmlBooleanxgetAbstract()Gets (as xml) the "abstract" attributeBlockSetxgetBlock()Gets (as xml) the "block" attributeXmlStringxgetDefault()Gets (as xml) the "default" attributeDerivationSetxgetFinal()Gets (as xml) the "final" attributeXmlStringxgetFixed()Gets (as xml) the "fixed" attributeFormChoicexgetForm()Gets (as xml) the "form" attributeAllNNIxgetMaxOccurs()Gets (as xml) the "maxOccurs" attributeXmlNonNegativeIntegerxgetMinOccurs()Gets (as xml) the "minOccurs" attributeXmlNCNamexgetName()Gets (as xml) the "name" attributeXmlBooleanxgetNillable()Gets (as xml) the "nillable" attributeXmlQNamexgetRef()Gets (as xml) the "ref" attributeXmlQNamexgetSubstitutionGroup()Gets (as xml) the "substitutionGroup" attributeXmlQNamexgetType()Gets (as xml) the "type" attributevoidxsetAbstract(XmlBoolean xabstract)Sets (as xml) the "abstract" attributevoidxsetBlock(BlockSet block)Sets (as xml) the "block" attributevoidxsetDefault(XmlString xdefault)Sets (as xml) the "default" attributevoidxsetFinal(DerivationSet xfinal)Sets (as xml) the "final" attributevoidxsetFixed(XmlString fixed)Sets (as xml) the "fixed" attributevoidxsetForm(FormChoice form)Sets (as xml) the "form" attributevoidxsetMaxOccurs(AllNNI maxOccurs)Sets (as xml) the "maxOccurs" attributevoidxsetMinOccurs(XmlNonNegativeInteger minOccurs)Sets (as xml) the "minOccurs" attributevoidxsetName(XmlNCName name)Sets (as xml) the "name" attributevoidxsetNillable(XmlBoolean nillable)Sets (as xml) the "nillable" attributevoidxsetRef(XmlQName ref)Sets (as xml) the "ref" attributevoidxsetSubstitutionGroup(XmlQName substitutionGroup)Sets (as xml) the "substitutionGroup" attributevoidxsetType(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
-
-