org.apache.ws.jaxme.xs.xml.impl
Class XsEUnionImpl
- XsEUnion, XsObject, XsTAnnotated, XsTOpenAttrs
public class XsEUnionImpl
Implementation of
xs: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>
asXsQName , asXsQName , getContext , getLocator , getNamespaceSupport , getObjectFactory , getParentObject , getXsESchema , isTopLevelObject , isValidated , validate |
memberTypes
public List memberTypes
simpleTypes
public List simpleTypes
XsEUnionImpl
protected XsEUnionImpl(XsObject pParent)
setMemberTypes
public void setMemberTypes(String pTypes)
throws SAXException
setMemberTypes
public void setMemberTypes(XsQName[] pTypes)
Sets the qualified names of simple types being used as member
types of the union.
- setMemberTypes in interface XsEUnion