org.apache.ws.jaxme.xs.impl

Class XSUnionTypeRestrictionImpl

Implemented Interfaces:
XSSimpleType, XSUnionType

public class XSUnionTypeRestrictionImpl
extends XSSimpleTypeRestrictionImpl
implements XSUnionType

Author:
Jochen Wiedmann

Constructor Summary

XSUnionTypeRestrictionImpl(XSType pParent, XSType pRestrictedType, XsGSimpleRestrictionModel pRestriction)

Method Summary

XSType[]
getMemberTypes()
XSUnionType
getUnionType()
Returns the union type details.
boolean
isUnion()
Returns whether the simple type is a union.

Methods inherited from class org.apache.ws.jaxme.xs.impl.XSSimpleTypeRestrictionImpl

getBaseType, getEnumerations, getPattern, getRestrictedType, getRestriction, isRestriction

Methods inherited from class org.apache.ws.jaxme.xs.impl.XSSimpleTypeImpl

getAtomicType, getListType, getUnionType, isAtomic, isList, isUnion

Constructor Details

XSUnionTypeRestrictionImpl

protected XSUnionTypeRestrictionImpl(XSType pParent,
                                     XSType pRestrictedType,
                                     XsGSimpleRestrictionModel pRestriction)
            throws SAXException

Method Details

getMemberTypes

public XSType[] getMemberTypes()
Specified by:
getMemberTypes in interface XSUnionType

getUnionType

public XSUnionType getUnionType()
Returns the union type details.
Specified by:
getUnionType in interface XSSimpleType
Overrides:
getUnionType in interface XSSimpleTypeImpl

isUnion

public boolean isUnion()
Returns whether the simple type is a union.
Specified by:
isUnion in interface XSSimpleType
Overrides:
isUnion in interface XSSimpleTypeImpl