org.apache.ws.jaxme.xs.types

Class AbstractSimpleType

Implemented Interfaces:
XSObject, XSOpenAttrs, XSSimpleType, XSType
Known Direct Subclasses:
AbstractAtomicType, AbstractListType

public abstract class AbstractSimpleType
extends AbstractBuiltinType
implements XSSimpleType

Author:
Jochen Wiedmann

Method Summary

XSAtomicType
getAtomicType()
Returns the atomic type details.
XSComplexType
getComplexType()
XSEnumeration[]
getEnumerations()
Returns the values of the "enumeration" facets.
XSListType
getListType()
Returns the list type details.
XSObject
getParentObject()
String[][]
getPattern()
Returns the value of the "pattern" facet or null, if the pattern has not been set.
XSSimpleType
getSimpleType()
XSUnionType
getUnionType()
Returns the union type details.
XSObjectFactory
getXSObjectFactory()
boolean
isAtomic()
Returns whether the simple type is atomic.
boolean
isList()
Returns whether the simple type is a list.
boolean
isSimple()
boolean
isTopLevelObject()
boolean
isUnion()
Returns whether the simple type is a union.

Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractBuiltinType

getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validate

Method Details

getAtomicType

public XSAtomicType getAtomicType()
Returns the atomic type details.
Specified by:
getAtomicType in interface XSSimpleType

getComplexType

public XSComplexType getComplexType()
Specified by:
getComplexType in interface XSType

getEnumerations

public XSEnumeration[] getEnumerations()
Returns the values of the "enumeration" facets.
Specified by:
getEnumerations in interface XSSimpleType

getListType

public XSListType getListType()
Returns the list type details.
Specified by:
getListType in interface XSSimpleType

getParentObject

public XSObject getParentObject()
Specified by:
getParentObject in interface XSObject

getPattern

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

getSimpleType

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

getUnionType

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

getXSObjectFactory

public XSObjectFactory getXSObjectFactory()

isAtomic

public boolean isAtomic()
Returns whether the simple type is atomic.
Specified by:
isAtomic in interface XSSimpleType

isList

public boolean isList()
Returns whether the simple type is a list.
Specified by:
isList in interface XSSimpleType

isSimple

public boolean isSimple()
Specified by:
isSimple in interface XSType

isTopLevelObject

public boolean isTopLevelObject()
Specified by:
isTopLevelObject in interface XSObject

isUnion

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