org.apache.ws.jaxme.generator.types

Class JMChar

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

public class JMChar
extends XSString

Author:
Jochen Wiedmann

Constructor Summary

JMChar()

Method Summary

static XSType
getInstance()
Long
getLength()
Returns the value of the "length" facet or null, if the facet is not set.
Long
getMaxLength()
Returns the value of the "maxLength" facet or null, if the facet is not set.
Long
getMinLength()
Returns the value of the "minLength" facet or null, if the facet is not set.
XsQName
getName()
XSType
getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.

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

JMChar

protected JMChar()

Method Details

getInstance

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

getLength

public Long getLength()
Returns the value of the "length" facet or null, if the facet is not set.
Specified by:
getLength in interface XSAtomicType
Overrides:
getLength in interface AbstractAtomicType

getMaxLength

public Long getMaxLength()
Returns the value of the "maxLength" facet or null, if the facet is not set.
Specified by:
getMaxLength in interface XSAtomicType
Overrides:
getMaxLength in interface AbstractAtomicType

getMinLength

public Long getMinLength()
Returns the value of the "minLength" facet or null, if the facet is not set.
Specified by:
getMinLength in interface XSAtomicType
Overrides:
getMinLength in interface AbstractAtomicType

getName

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

getRestrictedType

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