org.apache.ws.jaxme.xs.types

Class XSToken

Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType
Known Direct Subclasses:
XSLanguage, XSName, XSNMToken

public class XSToken
extends XSNormalizedString

The xs:token type.
Author:
Jochen Wiedmann

Constructor Summary

XSToken()

Method Summary

static XSType
getInstance()
XsQName
getName()
XSType
getRestrictedType()
boolean
isCollapsing()
Returns whether the simple type is collapsing multiple blanks into one and removing preceding and trailing blanks.

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

getInstance, getName, getRestrictedType, isReplacing

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

getInstance, getName, getRestrictedType, isRestriction

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

XSToken

protected XSToken()

Method Details

getInstance

public static XSType getInstance()
Overrides:
getInstance in interface XSNormalizedString

getName

public XsQName getName()
Specified by:
getName in interface XSType
Overrides:
getName in interface XSNormalizedString

getRestrictedType

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

isCollapsing

public boolean isCollapsing()
Returns whether the simple type is collapsing multiple blanks into one and removing preceding and trailing blanks. Collapsing includes replacing.
Specified by:
isCollapsing in interface XSAtomicType
Overrides:
isCollapsing in interface AbstractAtomicType