org.apache.ws.jaxme.xs.types

Class AbstractAtomicType

Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType
Known Direct Subclasses:
XSAnySimpleType, XSAnyURI, XSBase64Binary, XSBoolean, XSDate, XSDateTime, XSDecimal, XSDouble, XSDuration, XSFloat, XSGDay, XSGMonth, XSGMonthDay, XSGYear, XSGYearMonth, XSHexBinary, XSNotation, XSQName, XSString, XSTime

public abstract class AbstractAtomicType
extends AbstractSimpleType
implements XSAtomicType

Author:
Jochen Wiedmann

Method Summary

XSAtomicType
getAtomicType()
Returns the atomic type details.
Long
getFractionDigits()
Returns the value of the "fractionDigits" facet or null, if the facet is not set.
Long
getLength()
Returns the value of the "length" facet or null, if the facet is not set.
String
getMaxExclusive()
Returns the value of the "maxExclusive" facet or null, if the facet is not set.
String
getMaxInclusive()
Returns the value of the "maxInclusive" 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.
String
getMinExclusive()
Returns the value of the "minExclusive" facet or null, if the facet is not set.
String
getMinInclusive()
Returns the value of the "minInclusive" 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.
Long
getTotalDigits()
Returns the value of the "totalDigits" facet or null, if the facet is not set.
boolean
isAtomic()
Returns whether the simple type is atomic.
boolean
isBuiltin()
boolean
isCollapsing()
Returns whether the simple type is collapsing multiple blanks into one and removing preceding and trailing blanks.
boolean
isReplacing()
Returns whether the simple type is replacing tabs, carriage returns, and line feeds with blanks.

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

Method Details

getAtomicType

public XSAtomicType getAtomicType()
Returns the atomic type details.
Specified by:
getAtomicType in interface XSSimpleType
Overrides:
getAtomicType in interface AbstractSimpleType

getFractionDigits

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

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

getMaxExclusive

public String getMaxExclusive()
Returns the value of the "maxExclusive" facet or null, if the facet is not set.
Specified by:
getMaxExclusive in interface XSAtomicType

getMaxInclusive

public String getMaxInclusive()
Returns the value of the "maxInclusive" facet or null, if the facet is not set.
Specified by:
getMaxInclusive in interface XSAtomicType

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

getMinExclusive

public String getMinExclusive()
Returns the value of the "minExclusive" facet or null, if the facet is not set.
Specified by:
getMinExclusive in interface XSAtomicType

getMinInclusive

public String getMinInclusive()
Returns the value of the "minInclusive" facet or null, if the facet is not set.
Specified by:
getMinInclusive in interface XSAtomicType

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

getTotalDigits

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

isAtomic

public boolean isAtomic()
Returns whether the simple type is atomic.
Specified by:
isAtomic in interface XSSimpleType
Overrides:
isAtomic in interface AbstractSimpleType

isBuiltin

public boolean isBuiltin()
Specified by:
isBuiltin in interface XSType

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

isReplacing

public boolean isReplacing()
Returns whether the simple type is replacing tabs, carriage returns, and line feeds with blanks.
Specified by:
isReplacing in interface XSAtomicType