Class UnionDocumentImpl.UnionImpl
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.UnionDocumentImpl.UnionImpl
- All Implemented Interfaces:
Serializable,TypeStoreUser,Annotated,OpenAttrs,UnionDocument.Union,SimpleValue,XmlObject,XmlTokenSource
- Enclosing class:
UnionDocumentImpl
public static class UnionDocumentImpl.UnionImpl
extends AnnotatedImpl
implements UnionDocument.Union
An XML union(@http://www.w3.org/2001/XMLSchema).
This is a complex type.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn XML memberTypes(@).Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.UnionDocument.Union
UnionDocument.Union.MemberTypes -
Field Summary
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBERFields inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.UnionDocument.Union
Factory, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends and returns a new empty value (as xml) as the last "simpleType" elementGets the "memberTypes" attributeGets array of all "simpleType" elementsgetSimpleTypeArray(int i) Gets ith "simpleType" elementGets a List of "simpleType" elementsinsertNewSimpleType(int i) Inserts and returns a new empty value (as xml) as the ith "simpleType" elementbooleanTrue if has "memberTypes" attributevoidremoveSimpleType(int i) Removes the ith "simpleType" elementvoidsetMemberTypes(List memberTypes) Sets the "memberTypes" attributevoidsetSimpleTypeArray(int i, LocalSimpleType simpleType) Sets ith "simpleType" elementvoidsetSimpleTypeArray(LocalSimpleType[] simpleTypeArray) Sets array of all "simpleType" element WARNING: This method is not atomicaly synchronized.intReturns number of "simpleType" elementvoidUnsets the "memberTypes" attributeGets (as xml) the "memberTypes" attributevoidxsetMemberTypes(UnionDocument.Union.MemberTypes memberTypes) Sets (as xml) the "memberTypes" 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
-
UnionImpl
-
-
Method Details
-
getSimpleTypeList
Gets a List of "simpleType" elements- Specified by:
getSimpleTypeListin interfaceUnionDocument.Union
-
getSimpleTypeArray
Gets array of all "simpleType" elements- Specified by:
getSimpleTypeArrayin interfaceUnionDocument.Union
-
getSimpleTypeArray
Gets ith "simpleType" element- Specified by:
getSimpleTypeArrayin interfaceUnionDocument.Union
-
sizeOfSimpleTypeArray
public int sizeOfSimpleTypeArray()Returns number of "simpleType" element- Specified by:
sizeOfSimpleTypeArrayin interfaceUnionDocument.Union
-
setSimpleTypeArray
Sets array of all "simpleType" element WARNING: This method is not atomicaly synchronized.- Specified by:
setSimpleTypeArrayin interfaceUnionDocument.Union
-
setSimpleTypeArray
Sets ith "simpleType" element- Specified by:
setSimpleTypeArrayin interfaceUnionDocument.Union
-
insertNewSimpleType
Inserts and returns a new empty value (as xml) as the ith "simpleType" element- Specified by:
insertNewSimpleTypein interfaceUnionDocument.Union
-
addNewSimpleType
Appends and returns a new empty value (as xml) as the last "simpleType" element- Specified by:
addNewSimpleTypein interfaceUnionDocument.Union
-
removeSimpleType
public void removeSimpleType(int i) Removes the ith "simpleType" element- Specified by:
removeSimpleTypein interfaceUnionDocument.Union
-
getMemberTypes
Gets the "memberTypes" attribute- Specified by:
getMemberTypesin interfaceUnionDocument.Union
-
xgetMemberTypes
Gets (as xml) the "memberTypes" attribute- Specified by:
xgetMemberTypesin interfaceUnionDocument.Union
-
isSetMemberTypes
public boolean isSetMemberTypes()True if has "memberTypes" attribute- Specified by:
isSetMemberTypesin interfaceUnionDocument.Union
-
setMemberTypes
Sets the "memberTypes" attribute- Specified by:
setMemberTypesin interfaceUnionDocument.Union
-
xsetMemberTypes
Sets (as xml) the "memberTypes" attribute- Specified by:
xsetMemberTypesin interfaceUnionDocument.Union
-
unsetMemberTypes
public void unsetMemberTypes()Unsets the "memberTypes" attribute- Specified by:
unsetMemberTypesin interfaceUnionDocument.Union
-