Interface UnionDocument.Union
-
- All Superinterfaces:
Annotated
,OpenAttrs
,XmlObject
,XmlTokenSource
- All Known Implementing Classes:
UnionDocumentImpl.UnionImpl
- Enclosing interface:
- UnionDocument
public static interface UnionDocument.Union extends Annotated
An XML union(@http://www.w3.org/2001/XMLSchema). This is a complex type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
UnionDocument.Union.Factory
A factory class with static methods for creating instances of this type.static interface
UnionDocument.Union.MemberTypes
An XML memberTypes(@).
-
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 LocalSimpleType
addNewSimpleType()
Appends and returns a new empty value (as xml) as the last "simpleType" elementjava.util.List
getMemberTypes()
Gets the "memberTypes" attributeLocalSimpleType[]
getSimpleTypeArray()
Gets array of all "simpleType" elementsLocalSimpleType
getSimpleTypeArray(int i)
Gets ith "simpleType" elementLocalSimpleType
insertNewSimpleType(int i)
Inserts and returns a new empty value (as xml) as the ith "simpleType" elementboolean
isSetMemberTypes()
True if has "memberTypes" attributevoid
removeSimpleType(int i)
Removes the ith "simpleType" elementvoid
setMemberTypes(java.util.List memberTypes)
Sets the "memberTypes" attributevoid
setSimpleTypeArray(int i, LocalSimpleType simpleType)
Sets ith "simpleType" elementvoid
setSimpleTypeArray(LocalSimpleType[] simpleTypeArray)
Sets array of all "simpleType" elementint
sizeOfSimpleTypeArray()
Returns number of "simpleType" elementvoid
unsetMemberTypes()
Unsets the "memberTypes" attributeUnionDocument.Union.MemberTypes
xgetMemberTypes()
Gets (as xml) the "memberTypes" attributevoid
xsetMemberTypes(UnionDocument.Union.MemberTypes memberTypes)
Sets (as xml) the "memberTypes" 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
-
getSimpleTypeArray
LocalSimpleType[] getSimpleTypeArray()
Gets array of all "simpleType" elements
-
getSimpleTypeArray
LocalSimpleType getSimpleTypeArray(int i)
Gets ith "simpleType" element
-
sizeOfSimpleTypeArray
int sizeOfSimpleTypeArray()
Returns number of "simpleType" element
-
setSimpleTypeArray
void setSimpleTypeArray(LocalSimpleType[] simpleTypeArray)
Sets array of all "simpleType" element
-
setSimpleTypeArray
void setSimpleTypeArray(int i, LocalSimpleType simpleType)
Sets ith "simpleType" element
-
insertNewSimpleType
LocalSimpleType insertNewSimpleType(int i)
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
java.util.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
void setMemberTypes(java.util.List memberTypes)
Sets the "memberTypes" attribute
-
xsetMemberTypes
void xsetMemberTypes(UnionDocument.Union.MemberTypes memberTypes)
Sets (as xml) the "memberTypes" attribute
-
unsetMemberTypes
void unsetMemberTypes()
Unsets the "memberTypes" attribute
-
-