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.
|
isReplacing
isRestriction
getAtomicType, getFractionDigits, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getTotalDigits, isAtomic, isBuiltin
getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isList, isSimple, isTopLevelObject, isUnion
getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validate
public XsQName getName()
XSType
If the type is global: Returns the types name. Otherwise returns null.
getName
in interface XSType
getName
in class XSNormalizedString
public boolean isCollapsing()
XSAtomicType
Returns whether the simple type is collapsing multiple blanks into one and removing preceding and trailing blanks. Collapsing includes replacing.
isCollapsing
in interface XSAtomicType
isCollapsing
in class AbstractAtomicType
public static XSType getInstance()
public XSType getRestrictedType()
XSSimpleType
If the simple type is a restriction, returns the restricted simple type.
getRestrictedType
in interface XSSimpleType
getRestrictedType
in class XSNormalizedString