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 classUnionDocument.Union.FactoryA factory class with static methods for creating instances of this type.static interfaceUnionDocument.Union.MemberTypesAn XML memberTypes(@).
-
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 LocalSimpleTypeaddNewSimpleType()Appends and returns a new empty value (as xml) as the last "simpleType" elementjava.util.ListgetMemberTypes()Gets the "memberTypes" attributeLocalSimpleType[]getSimpleTypeArray()Gets array of all "simpleType" elementsLocalSimpleTypegetSimpleTypeArray(int i)Gets ith "simpleType" elementLocalSimpleTypeinsertNewSimpleType(int i)Inserts and returns a new empty value (as xml) as the ith "simpleType" elementbooleanisSetMemberTypes()True if has "memberTypes" attributevoidremoveSimpleType(int i)Removes the ith "simpleType" elementvoidsetMemberTypes(java.util.List memberTypes)Sets the "memberTypes" attributevoidsetSimpleTypeArray(int i, LocalSimpleType simpleType)Sets ith "simpleType" elementvoidsetSimpleTypeArray(LocalSimpleType[] simpleTypeArray)Sets array of all "simpleType" elementintsizeOfSimpleTypeArray()Returns number of "simpleType" elementvoidunsetMemberTypes()Unsets the "memberTypes" attributeUnionDocument.Union.MemberTypesxgetMemberTypes()Gets (as xml) the "memberTypes" attributevoidxsetMemberTypes(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
-
-