Class ElementImpl
java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
org.apache.xmlbeans.impl.xb.xsdschema.impl.OpenAttrsImpl
org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
org.apache.xmlbeans.impl.xb.xsdschema.impl.ElementImpl
- All Implemented Interfaces:
Serializable,TypeStoreUser,Annotated,Element,OpenAttrs,SimpleValue,XmlObject,XmlTokenSource
- Direct Known Subclasses:
LocalElementImpl,TopLevelElementImpl
An XML element(@http://www.w3.org/2001/XMLSchema).
This is a complex type.
- See Also:
-
Field Summary
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER -
Constructor Summary
Constructors -
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" elementbooleanGets 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" attributebooleanGets 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" elementbooleanTrue if has "abstract" attributebooleanTrue if has "block" attributebooleanTrue if has "complexType" elementbooleanTrue if has "default" attributebooleanTrue if has "final" attributebooleanTrue if has "fixed" attributebooleanTrue if has "form" attributebooleanTrue if has "maxOccurs" attributebooleanTrue if has "minOccurs" attributebooleanTrue if has "name" attributebooleanTrue if has "nillable" attributebooleanisSetRef()True if has "ref" attributebooleanTrue if has "simpleType" elementbooleanTrue if has "substitutionGroup" attributebooleanTrue 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" attributevoidSets the "block" attributevoidsetComplexType(LocalComplexType complexType) Sets the "complexType" elementvoidsetDefault(String xdefault) Sets the "default" attributevoidSets the "final" attributevoidSets 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" element WARNING: This method is not atomicaly synchronized.voidsetKeyrefArray(int i, KeyrefDocument.Keyref keyref) Sets ith "keyref" elementvoidsetKeyrefArray(KeyrefDocument.Keyref[] keyrefArray) Sets array of all "keyref" element WARNING: This method is not atomicaly synchronized.voidsetMaxOccurs(Object maxOccurs) Sets the "maxOccurs" attributevoidsetMinOccurs(BigInteger minOccurs) Sets the "minOccurs" attributevoidSets the "name" attributevoidsetNillable(boolean nillable) Sets the "nillable" attributevoidSets the "ref" attributevoidsetSimpleType(LocalSimpleType simpleType) Sets the "simpleType" elementvoidsetSubstitutionGroup(QName substitutionGroup) Sets the "substitutionGroup" attributevoidSets the "type" attributevoidsetUniqueArray(int i, Keybase unique) Sets ith "unique" elementvoidsetUniqueArray(Keybase[] uniqueArray) Sets array of all "unique" element WARNING: This method is not atomicaly synchronized.intReturns number of "key" elementintReturns number of "keyref" elementintReturns number of "unique" elementvoidUnsets the "abstract" attributevoidUnsets the "block" attributevoidUnsets the "complexType" elementvoidUnsets the "default" attributevoidUnsets the "final" attributevoidUnsets the "fixed" attributevoidUnsets the "form" attributevoidUnsets the "maxOccurs" attributevoidUnsets the "minOccurs" attributevoidUnsets the "name" attributevoidUnsets the "nillable" attributevoidunsetRef()Unsets the "ref" attributevoidUnsets the "simpleType" elementvoidUnsets the "substitutionGroup" attributevoidUnsets 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" attributevoidxsetAbstract(XmlBoolean xabstract) Sets (as xml) the "abstract" attributevoidSets (as xml) the "block" attributevoidxsetDefault(XmlString xdefault) Sets (as xml) the "default" attributevoidxsetFinal(DerivationSet xfinal) Sets (as xml) the "final" attributevoidSets (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" attributevoidSets (as xml) the "name" attributevoidxsetNillable(XmlBoolean nillable) Sets (as xml) the "nillable" attributevoidSets (as xml) the "ref" attributevoidxsetSubstitutionGroup(XmlQName substitutionGroup) Sets (as xml) the "substitutionGroup" attributevoidSets (as xml) the "type" attributeMethods inherited from class org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetIdMethods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl
compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_textMethods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_copy, _copy, _set, attach_store, build_nil, build_text, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, disconnect_store, documentProperties, dump, equals, execQuery, execQuery, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, hashCode, init_flags, instanceType, invalidate_element_order, invalidate_nilvalue, invalidate_value, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set_newValue, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, substitute, toString, uses_invalidate_value, validate, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, xmlText, xmlTextMethods 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
-
Constructor Details
-
ElementImpl
-
-
Method Details
-
getSimpleType
Gets the "simpleType" element- Specified by:
getSimpleTypein interfaceElement
-
isSetSimpleType
public boolean isSetSimpleType()True if has "simpleType" element- Specified by:
isSetSimpleTypein interfaceElement
-
setSimpleType
Sets the "simpleType" element- Specified by:
setSimpleTypein interfaceElement
-
addNewSimpleType
Appends and returns a new empty "simpleType" element- Specified by:
addNewSimpleTypein interfaceElement
-
unsetSimpleType
public void unsetSimpleType()Unsets the "simpleType" element- Specified by:
unsetSimpleTypein interfaceElement
-
getComplexType
Gets the "complexType" element- Specified by:
getComplexTypein interfaceElement
-
isSetComplexType
public boolean isSetComplexType()True if has "complexType" element- Specified by:
isSetComplexTypein interfaceElement
-
setComplexType
Sets the "complexType" element- Specified by:
setComplexTypein interfaceElement
-
addNewComplexType
Appends and returns a new empty "complexType" element- Specified by:
addNewComplexTypein interfaceElement
-
unsetComplexType
public void unsetComplexType()Unsets the "complexType" element- Specified by:
unsetComplexTypein interfaceElement
-
getUniqueList
Gets a List of "unique" elements- Specified by:
getUniqueListin interfaceElement
-
getUniqueArray
Gets array of all "unique" elements- Specified by:
getUniqueArrayin interfaceElement
-
getUniqueArray
Gets ith "unique" element- Specified by:
getUniqueArrayin interfaceElement
-
sizeOfUniqueArray
public int sizeOfUniqueArray()Returns number of "unique" element- Specified by:
sizeOfUniqueArrayin interfaceElement
-
setUniqueArray
Sets array of all "unique" element WARNING: This method is not atomicaly synchronized.- Specified by:
setUniqueArrayin interfaceElement
-
setUniqueArray
Sets ith "unique" element- Specified by:
setUniqueArrayin interfaceElement
-
insertNewUnique
Inserts and returns a new empty value (as xml) as the ith "unique" element- Specified by:
insertNewUniquein interfaceElement
-
addNewUnique
Appends and returns a new empty value (as xml) as the last "unique" element- Specified by:
addNewUniquein interfaceElement
-
removeUnique
public void removeUnique(int i) Removes the ith "unique" element- Specified by:
removeUniquein interfaceElement
-
getKeyList
Gets a List of "key" elements- Specified by:
getKeyListin interfaceElement
-
getKeyArray
Gets array of all "key" elements- Specified by:
getKeyArrayin interfaceElement
-
getKeyArray
Gets ith "key" element- Specified by:
getKeyArrayin interfaceElement
-
sizeOfKeyArray
public int sizeOfKeyArray()Returns number of "key" element- Specified by:
sizeOfKeyArrayin interfaceElement
-
setKeyArray
Sets array of all "key" element WARNING: This method is not atomicaly synchronized.- Specified by:
setKeyArrayin interfaceElement
-
setKeyArray
Sets ith "key" element- Specified by:
setKeyArrayin interfaceElement
-
insertNewKey
Inserts and returns a new empty value (as xml) as the ith "key" element- Specified by:
insertNewKeyin interfaceElement
-
addNewKey
Appends and returns a new empty value (as xml) as the last "key" element -
removeKey
public void removeKey(int i) Removes the ith "key" element -
getKeyrefList
Gets a List of "keyref" elements- Specified by:
getKeyrefListin interfaceElement
-
getKeyrefArray
Gets array of all "keyref" elements- Specified by:
getKeyrefArrayin interfaceElement
-
getKeyrefArray
Gets ith "keyref" element- Specified by:
getKeyrefArrayin interfaceElement
-
sizeOfKeyrefArray
public int sizeOfKeyrefArray()Returns number of "keyref" element- Specified by:
sizeOfKeyrefArrayin interfaceElement
-
setKeyrefArray
Sets array of all "keyref" element WARNING: This method is not atomicaly synchronized.- Specified by:
setKeyrefArrayin interfaceElement
-
setKeyrefArray
Sets ith "keyref" element- Specified by:
setKeyrefArrayin interfaceElement
-
insertNewKeyref
Inserts and returns a new empty value (as xml) as the ith "keyref" element- Specified by:
insertNewKeyrefin interfaceElement
-
addNewKeyref
Appends and returns a new empty value (as xml) as the last "keyref" element- Specified by:
addNewKeyrefin interfaceElement
-
removeKeyref
public void removeKeyref(int i) Removes the ith "keyref" element- Specified by:
removeKeyrefin interfaceElement
-
getName
Gets the "name" attribute -
xgetName
Gets (as xml) the "name" attribute -
isSetName
public boolean isSetName()True if has "name" attribute -
setName
Sets the "name" attribute -
xsetName
Sets (as xml) the "name" attribute -
unsetName
public void unsetName()Unsets the "name" attribute -
getRef
Gets the "ref" attribute -
xgetRef
Gets (as xml) the "ref" attribute -
isSetRef
public boolean isSetRef()True if has "ref" attribute -
setRef
Sets the "ref" attribute -
xsetRef
Sets (as xml) the "ref" attribute -
unsetRef
public void unsetRef()Unsets the "ref" attribute -
getType
Gets the "type" attribute -
xgetType
Gets (as xml) the "type" attribute -
isSetType
public boolean isSetType()True if has "type" attribute -
setType
Sets the "type" attribute -
xsetType
Sets (as xml) the "type" attribute -
unsetType
public void unsetType()Unsets the "type" attribute -
getSubstitutionGroup
Gets the "substitutionGroup" attribute- Specified by:
getSubstitutionGroupin interfaceElement
-
xgetSubstitutionGroup
Gets (as xml) the "substitutionGroup" attribute- Specified by:
xgetSubstitutionGroupin interfaceElement
-
isSetSubstitutionGroup
public boolean isSetSubstitutionGroup()True if has "substitutionGroup" attribute- Specified by:
isSetSubstitutionGroupin interfaceElement
-
setSubstitutionGroup
Sets the "substitutionGroup" attribute- Specified by:
setSubstitutionGroupin interfaceElement
-
xsetSubstitutionGroup
Sets (as xml) the "substitutionGroup" attribute- Specified by:
xsetSubstitutionGroupin interfaceElement
-
unsetSubstitutionGroup
public void unsetSubstitutionGroup()Unsets the "substitutionGroup" attribute- Specified by:
unsetSubstitutionGroupin interfaceElement
-
getMinOccurs
Gets the "minOccurs" attribute- Specified by:
getMinOccursin interfaceElement
-
xgetMinOccurs
Gets (as xml) the "minOccurs" attribute- Specified by:
xgetMinOccursin interfaceElement
-
isSetMinOccurs
public boolean isSetMinOccurs()True if has "minOccurs" attribute- Specified by:
isSetMinOccursin interfaceElement
-
setMinOccurs
Sets the "minOccurs" attribute- Specified by:
setMinOccursin interfaceElement
-
xsetMinOccurs
Sets (as xml) the "minOccurs" attribute- Specified by:
xsetMinOccursin interfaceElement
-
unsetMinOccurs
public void unsetMinOccurs()Unsets the "minOccurs" attribute- Specified by:
unsetMinOccursin interfaceElement
-
getMaxOccurs
Gets the "maxOccurs" attribute- Specified by:
getMaxOccursin interfaceElement
-
xgetMaxOccurs
Gets (as xml) the "maxOccurs" attribute- Specified by:
xgetMaxOccursin interfaceElement
-
isSetMaxOccurs
public boolean isSetMaxOccurs()True if has "maxOccurs" attribute- Specified by:
isSetMaxOccursin interfaceElement
-
setMaxOccurs
Sets the "maxOccurs" attribute- Specified by:
setMaxOccursin interfaceElement
-
xsetMaxOccurs
Sets (as xml) the "maxOccurs" attribute- Specified by:
xsetMaxOccursin interfaceElement
-
unsetMaxOccurs
public void unsetMaxOccurs()Unsets the "maxOccurs" attribute- Specified by:
unsetMaxOccursin interfaceElement
-
getDefault
Gets the "default" attribute- Specified by:
getDefaultin interfaceElement
-
xgetDefault
Gets (as xml) the "default" attribute- Specified by:
xgetDefaultin interfaceElement
-
isSetDefault
public boolean isSetDefault()True if has "default" attribute- Specified by:
isSetDefaultin interfaceElement
-
setDefault
Sets the "default" attribute- Specified by:
setDefaultin interfaceElement
-
xsetDefault
Sets (as xml) the "default" attribute- Specified by:
xsetDefaultin interfaceElement
-
unsetDefault
public void unsetDefault()Unsets the "default" attribute- Specified by:
unsetDefaultin interfaceElement
-
getFixed
Gets the "fixed" attribute -
xgetFixed
Gets (as xml) the "fixed" attribute -
isSetFixed
public boolean isSetFixed()True if has "fixed" attribute- Specified by:
isSetFixedin interfaceElement
-
setFixed
Sets the "fixed" attribute -
xsetFixed
Sets (as xml) the "fixed" attribute -
unsetFixed
public void unsetFixed()Unsets the "fixed" attribute- Specified by:
unsetFixedin interfaceElement
-
getNillable
public boolean getNillable()Gets the "nillable" attribute- Specified by:
getNillablein interfaceElement
-
xgetNillable
Gets (as xml) the "nillable" attribute- Specified by:
xgetNillablein interfaceElement
-
isSetNillable
public boolean isSetNillable()True if has "nillable" attribute- Specified by:
isSetNillablein interfaceElement
-
setNillable
public void setNillable(boolean nillable) Sets the "nillable" attribute- Specified by:
setNillablein interfaceElement
-
xsetNillable
Sets (as xml) the "nillable" attribute- Specified by:
xsetNillablein interfaceElement
-
unsetNillable
public void unsetNillable()Unsets the "nillable" attribute- Specified by:
unsetNillablein interfaceElement
-
getAbstract
public boolean getAbstract()Gets the "abstract" attribute- Specified by:
getAbstractin interfaceElement
-
xgetAbstract
Gets (as xml) the "abstract" attribute- Specified by:
xgetAbstractin interfaceElement
-
isSetAbstract
public boolean isSetAbstract()True if has "abstract" attribute- Specified by:
isSetAbstractin interfaceElement
-
setAbstract
public void setAbstract(boolean xabstract) Sets the "abstract" attribute- Specified by:
setAbstractin interfaceElement
-
xsetAbstract
Sets (as xml) the "abstract" attribute- Specified by:
xsetAbstractin interfaceElement
-
unsetAbstract
public void unsetAbstract()Unsets the "abstract" attribute- Specified by:
unsetAbstractin interfaceElement
-
getFinal
Gets the "final" attribute -
xgetFinal
Gets (as xml) the "final" attribute -
isSetFinal
public boolean isSetFinal()True if has "final" attribute- Specified by:
isSetFinalin interfaceElement
-
setFinal
Sets the "final" attribute -
xsetFinal
Sets (as xml) the "final" attribute -
unsetFinal
public void unsetFinal()Unsets the "final" attribute- Specified by:
unsetFinalin interfaceElement
-
getBlock
Gets the "block" attribute -
xgetBlock
Gets (as xml) the "block" attribute -
isSetBlock
public boolean isSetBlock()True if has "block" attribute- Specified by:
isSetBlockin interfaceElement
-
setBlock
Sets the "block" attribute -
xsetBlock
Sets (as xml) the "block" attribute -
unsetBlock
public void unsetBlock()Unsets the "block" attribute- Specified by:
unsetBlockin interfaceElement
-
getForm
Gets the "form" attribute -
xgetForm
Gets (as xml) the "form" attribute -
isSetForm
public boolean isSetForm()True if has "form" attribute -
setForm
Sets the "form" attribute -
xsetForm
Sets (as xml) the "form" attribute -
unsetForm
public void unsetForm()Unsets the "form" attribute
-