public class JMChar extends XSString
Modifier | Constructor and Description |
---|---|
protected |
JMChar() |
Modifier and Type | Method and Description |
---|---|
static XSType |
getInstance() |
java.lang.Long |
getLength()
Returns the value of the "length" facet or null, if the facet is not set.
|
java.lang.Long |
getMaxLength()
Returns the value of the "maxLength" facet or null, if the facet is not set.
|
java.lang.Long |
getMinLength()
Returns the value of the "minLength" facet or null, if the facet is not set.
|
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.
|
isRestriction
getAtomicType, getFractionDigits, getMaxExclusive, getMaxInclusive, getMinExclusive, getMinInclusive, getTotalDigits, isAtomic, isBuiltin, isCollapsing, isReplacing
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.
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 XSString
public java.lang.Long getLength()
XSAtomicType
Returns the value of the "length" facet or null, if the facet is not set.
getLength
in interface XSAtomicType
getLength
in class AbstractAtomicType
public java.lang.Long getMaxLength()
XSAtomicType
Returns the value of the "maxLength" facet or null, if the facet is not set.
getMaxLength
in interface XSAtomicType
getMaxLength
in class AbstractAtomicType
public java.lang.Long getMinLength()
XSAtomicType
Returns the value of the "minLength" facet or null, if the facet is not set.
getMinLength
in interface XSAtomicType
getMinLength
in class AbstractAtomicType