| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.ws.jaxme.xs.xml.impl.XsObjectImplorg.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImplorg.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImplorg.apache.ws.jaxme.xs.xml.impl.XsEUnionImplxs:union, following the
specification below:
<xs:element name="union" id="union">
<xs:complexType>
<xs:annotation>
<xs:documentation
source="http://www.w3.org/TR/xmlschema-2/#element-union">
memberTypes attribute must be non-empty or there must be
at least one simpleType child
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:sequence>
<xs:element name="simpleType" type="xs:localSimpleType"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="memberTypes" use="optional">
<xs:simpleType>
<xs:list itemType="xs:QName"/>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Field Summary | |
List | |
List | |
Constructor Summary | |
| |
Method Summary | |
XsTLocalSimpleType |
|
XsQName[] |
|
XsTLocalSimpleType[] |
|
void |
|
void |
|
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl | |
createAnnotation, getAnnotation, getId, setId | |
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl | |
getOpenAttributes, setAttribute | |
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl | |
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate | |
public XsTLocalSimpleType createSimpleType()
Creates a new, local simple type as a member type of the union.
- Specified by:
- createSimpleType in interface XsEUnion
public XsQName[] getMemberTypes()
Returns an array of member types which have been added usingXsEUnion.setMemberTypes(XsQName[]). This array may be null, if the methodXsEUnion.setMemberTypes(XsQName[])wasn't invoked at all, or it may be the empty array, if an empty string was passed as argument to the method.
- Specified by:
- getMemberTypes in interface XsEUnion
public XsTLocalSimpleType[] getSimpleTypes()
Returns an array of member types which have been created usingXsEUnion.createSimpleType().
- Specified by:
- getSimpleTypes in interface XsEUnion
public void setMemberTypes(String pTypes)
throws SAXExceptionpublic void setMemberTypes(XsQName[] pTypes)
Sets the qualified names of simple types being used as member types of the union.
- Specified by:
- setMemberTypes in interface XsEUnion