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, isRestrictiongetAtomicType, getListType, isAtomic, isListprotected XSUnionTypeRestrictionImpl(XSType pParent, XSType pRestrictedType, XsGSimpleRestrictionModel pRestriction) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic boolean isUnion()
XSSimpleTypeReturns whether the simple type is a union.
isUnion in interface XSSimpleTypeisUnion in class XSSimpleTypeImplpublic XSUnionType getUnionType()
XSSimpleTypeReturns the union type details.
getUnionType in interface XSSimpleTypegetUnionType in class XSSimpleTypeImplpublic XSType[] getMemberTypes()
XSUnionTypeReturns the array of member types. Each member type is, of course, a simple type.
getMemberTypes in interface XSUnionType