public class XSUnionTypeRestrictionImpl extends XSSimpleTypeRestrictionImpl implements XSUnionType
Modifier | Constructor and Description |
---|---|
protected |
XSUnionTypeRestrictionImpl(XSType pParent,
XSType pRestrictedType,
XsGSimpleRestrictionModel pRestriction) |
Modifier and Type | Method and Description |
---|---|
XSType[] |
getMemberTypes()
Returns the array of member types.
|
XSUnionType |
getUnionType()
Returns the union type details.
|
boolean |
isUnion()
Returns whether the simple type is a union.
|
getBaseType, getEnumerations, getPattern, getRestrictedType, getRestriction, isRestriction
getAtomicType, getListType, isAtomic, isList
protected XSUnionTypeRestrictionImpl(XSType pParent, XSType pRestrictedType, XsGSimpleRestrictionModel pRestriction) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public boolean isUnion()
XSSimpleType
Returns whether the simple type is a union.
isUnion
in interface XSSimpleType
isUnion
in class XSSimpleTypeImpl
public XSUnionType getUnionType()
XSSimpleType
Returns the union type details.
getUnionType
in interface XSSimpleType
getUnionType
in class XSSimpleTypeImpl
public XSType[] getMemberTypes()
XSUnionType
Returns the array of member types. Each member type is, of course, a simple type.
getMemberTypes
in interface XSUnionType