org.apache.ws.jaxme.xs.types
Class AbstractAtomicType

java.lang.Object
  extended by org.apache.ws.jaxme.xs.types.AbstractBuiltinType
      extended by org.apache.ws.jaxme.xs.types.AbstractSimpleType
          extended by org.apache.ws.jaxme.xs.types.AbstractAtomicType
All Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType
Direct Known 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

Constructor Summary
AbstractAtomicType()
           
 
Method Summary
 XSAtomicType getAtomicType()
          Returns the atomic type details.
 java.lang.Long getFractionDigits()
          Returns the value of the "fractionDigits" facet or null, if the facet is not set.
 java.lang.Long getLength()
          Returns the value of the "length" facet or null, if the facet is not set.
 java.lang.String getMaxExclusive()
          Returns the value of the "maxExclusive" facet or null, if the facet is not set.
 java.lang.String getMaxInclusive()
          Returns the value of the "maxInclusive" 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.String getMinExclusive()
          Returns the value of the "minExclusive" facet or null, if the facet is not set.
 java.lang.String getMinInclusive()
          Returns the value of the "minInclusive" 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.
 java.lang.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()
          Returns whether the type is a builtin type of XML Schema.
 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
getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isList, isSimple, isTopLevelObject, isUnion
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractBuiltinType
getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSSimpleType
getRestrictedType, isRestriction
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSType
getName
 

Constructor Detail

AbstractAtomicType

public AbstractAtomicType()
Method Detail

isAtomic

public boolean isAtomic()
Description copied from interface: XSSimpleType

Returns whether the simple type is atomic.

Specified by:
isAtomic in interface XSSimpleType
Overrides:
isAtomic in class AbstractSimpleType

getAtomicType

public XSAtomicType getAtomicType()
Description copied from interface: XSSimpleType

Returns the atomic type details.

Specified by:
getAtomicType in interface XSSimpleType
Overrides:
getAtomicType in class AbstractSimpleType

getFractionDigits

public java.lang.Long getFractionDigits()
Description copied from interface: XSAtomicType

Returns the value of the "fractionDigits" facet or null, if the facet is not set.

Specified by:
getFractionDigits in interface XSAtomicType

getLength

public java.lang.Long getLength()
Description copied from interface: XSAtomicType

Returns the value of the "length" facet or null, if the facet is not set.

Specified by:
getLength in interface XSAtomicType

getMaxExclusive

public java.lang.String getMaxExclusive()
Description copied from interface: XSAtomicType

Returns the value of the "maxExclusive" facet or null, if the facet is not set.

Specified by:
getMaxExclusive in interface XSAtomicType

getMaxInclusive

public java.lang.String getMaxInclusive()
Description copied from interface: XSAtomicType

Returns the value of the "maxInclusive" facet or null, if the facet is not set.

Specified by:
getMaxInclusive in interface XSAtomicType

getMaxLength

public java.lang.Long getMaxLength()
Description copied from interface: XSAtomicType

Returns the value of the "maxLength" facet or null, if the facet is not set.

Specified by:
getMaxLength in interface XSAtomicType

getMinExclusive

public java.lang.String getMinExclusive()
Description copied from interface: XSAtomicType

Returns the value of the "minExclusive" facet or null, if the facet is not set.

Specified by:
getMinExclusive in interface XSAtomicType

getMinInclusive

public java.lang.String getMinInclusive()
Description copied from interface: XSAtomicType

Returns the value of the "minInclusive" facet or null, if the facet is not set.

Specified by:
getMinInclusive in interface XSAtomicType

getMinLength

public java.lang.Long getMinLength()
Description copied from interface: XSAtomicType

Returns the value of the "minLength" facet or null, if the facet is not set.

Specified by:
getMinLength in interface XSAtomicType

getTotalDigits

public java.lang.Long getTotalDigits()
Description copied from interface: XSAtomicType

Returns the value of the "totalDigits" facet or null, if the facet is not set.

Specified by:
getTotalDigits in interface XSAtomicType

isReplacing

public boolean isReplacing()
Description copied from interface: XSAtomicType

Returns whether the simple type is replacing tabs, carriage returns, and line feeds with blanks.

Specified by:
isReplacing in interface XSAtomicType

isCollapsing

public boolean isCollapsing()
Description copied from interface: XSAtomicType

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

isBuiltin

public boolean isBuiltin()
Description copied from interface: XSType

Returns whether the type is a builtin type of XML Schema.

Specified by:
isBuiltin in interface XSType