org.apache.ws.jaxme.xs.impl

Class XSUnionTypeImpl

Implemented Interfaces:
XSSimpleType, XSUnionType

public class XSUnionTypeImpl
extends XSSimpleTypeImpl
implements XSUnionType

Author:
Jochen Wiedmann

Constructor Summary

XSUnionTypeImpl(XSType pOwner, XsEUnion pBaseUnion)

Method Summary

XSEnumeration[]
getEnumerations()
XSType[]
getMemberTypes()
String[][]
getPattern()
XSType
getRestrictedType()
XSUnionType
getUnionType()
boolean
isRestriction()
boolean
isUnion()

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

getAtomicType, getListType, getUnionType, isAtomic, isList, isUnion

Constructor Details

XSUnionTypeImpl

public XSUnionTypeImpl(XSType pOwner,
                       XsEUnion pBaseUnion)
            throws SAXException

Method Details

getEnumerations

public XSEnumeration[] getEnumerations()
Specified by:
getEnumerations in interface XSSimpleType

getMemberTypes

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

getPattern

public String[][] getPattern()
Specified by:
getPattern in interface XSSimpleType

getRestrictedType

public XSType getRestrictedType()
Specified by:
getRestrictedType in interface XSSimpleType

getUnionType

public XSUnionType getUnionType()
Specified by:
getUnionType in interface XSSimpleType
Overrides:
getUnionType in interface XSSimpleTypeImpl

isRestriction

public boolean isRestriction()
Specified by:
isRestriction in interface XSSimpleType

isUnion

public boolean isUnion()
Specified by:
isUnion in interface XSSimpleType
Overrides:
isUnion in interface XSSimpleTypeImpl