public class XSToken extends XSNormalizedString
The xs:token type.
| Modifier | Constructor and Description |
|---|---|
protected |
XSToken() |
| Modifier and Type | Method and Description |
|---|---|
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 |
isCollapsing()
Returns whether the simple type is collapsing multiple blanks into
one and removing preceding and trailing blanks.
|
isReplacingisRestrictiongetAtomicType, getFractionDigits, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getTotalDigits, isAtomic, isBuiltingetComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isList, isSimple, isTopLevelObject, isUniongetAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validatepublic XsQName getName()
XSTypeIf the type is global: Returns the types name. Otherwise returns null.
getName in interface XSTypegetName in class XSNormalizedStringpublic boolean isCollapsing()
XSAtomicTypeReturns whether the simple type is collapsing multiple blanks into one and removing preceding and trailing blanks. Collapsing includes replacing.
isCollapsing in interface XSAtomicTypeisCollapsing in class AbstractAtomicTypepublic static XSType getInstance()
public XSType getRestrictedType()
XSSimpleTypeIf the simple type is a restriction, returns the restricted simple type.
getRestrictedType in interface XSSimpleTypegetRestrictedType in class XSNormalizedString