Interface UnionDocument.Union
- All Superinterfaces:
Annotated,OpenAttrs,XmlObject,XmlTokenSource
- All Known Implementing Classes:
UnionDocumentImpl.UnionImpl
- Enclosing interface:
UnionDocument
An XML union(@http://www.w3.org/2001/XMLSchema).
This is a complex type.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn XML memberTypes(@). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ElementFactory<UnionDocument.Union> static final SchemaTypeFields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL -
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" elementintReturns number of "simpleType" elementvoidUnsets the "memberTypes" attributeGets (as xml) the "memberTypes" attributevoidxsetMemberTypes(UnionDocument.Union.MemberTypes memberTypes) Sets (as xml) the "memberTypes" attributeMethods 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
-
Field Details
-
Factory
-
type
-
-
Method Details
-
getSimpleTypeList
List<LocalSimpleType> getSimpleTypeList()Gets a List of "simpleType" elements -
getSimpleTypeArray
LocalSimpleType[] getSimpleTypeArray()Gets array of all "simpleType" elements -
getSimpleTypeArray
Gets ith "simpleType" element -
sizeOfSimpleTypeArray
int sizeOfSimpleTypeArray()Returns number of "simpleType" element -
setSimpleTypeArray
Sets array of all "simpleType" element -
setSimpleTypeArray
Sets ith "simpleType" element -
insertNewSimpleType
Inserts and returns a new empty value (as xml) as the ith "simpleType" element -
addNewSimpleType
LocalSimpleType addNewSimpleType()Appends and returns a new empty value (as xml) as the last "simpleType" element -
removeSimpleType
void removeSimpleType(int i) Removes the ith "simpleType" element -
getMemberTypes
List getMemberTypes()Gets the "memberTypes" attribute -
xgetMemberTypes
UnionDocument.Union.MemberTypes xgetMemberTypes()Gets (as xml) the "memberTypes" attribute -
isSetMemberTypes
boolean isSetMemberTypes()True if has "memberTypes" attribute -
setMemberTypes
Sets the "memberTypes" attribute -
xsetMemberTypes
Sets (as xml) the "memberTypes" attribute -
unsetMemberTypes
void unsetMemberTypes()Unsets the "memberTypes" attribute
-