org.apache.ws.jaxme.xs.types

Class XSAnySimpleType

Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType

public class XSAnySimpleType
extends AbstractAtomicType

The type xs:anySimpleType.
Author:
Jochen Wiedmann

Constructor Summary

XSAnySimpleType()

Method Summary

static XSType
getInstance()
XsQName
getName()
If the type is global: Returns the types name.
XSType
getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.
boolean
isRestriction()
Returns whether the type is a restriction of another simple type.

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

getAtomicType, getFractionDigits, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getTotalDigits, isAtomic, isBuiltin, isCollapsing, isReplacing

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

getAtomicType, getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isAtomic, isList, isSimple, isTopLevelObject, isUnion

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

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

Constructor Details

XSAnySimpleType

protected XSAnySimpleType()

Method Details

getInstance

public static XSType getInstance()

getName

public XsQName getName()
If the type is global: Returns the types name. Otherwise returns null.
Specified by:
getName in interface XSType

getRestrictedType

public XSType getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.
Specified by:
getRestrictedType in interface XSSimpleType

isRestriction

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