org.apache.ws.jaxme.xs.impl
Class XSAtomicTypeRestrictionImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.impl.XSSimpleTypeImpl
      extended by org.apache.ws.jaxme.xs.impl.XSSimpleTypeRestrictionImpl
          extended by org.apache.ws.jaxme.xs.impl.XSAtomicTypeRestrictionImpl
All Implemented Interfaces:
XSAtomicType, XSSimpleType

public class XSAtomicTypeRestrictionImpl
extends XSSimpleTypeRestrictionImpl
implements XSAtomicType

Author:
Jochen Wiedmann

Constructor Summary
XSAtomicTypeRestrictionImpl(XSType pParent, XSType pBaseType, XsGSimpleRestrictionModel pRestriction)
          Creates a new atomic type restricting pBaseType with the constraints pRestriction.
 
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 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.impl.XSSimpleTypeRestrictionImpl
getBaseType, getEnumerations, getPattern, getRestrictedType, getRestriction, isRestriction
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSSimpleTypeImpl
getListType, getUnionType, isList, isUnion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSAtomicTypeRestrictionImpl

public XSAtomicTypeRestrictionImpl(XSType pParent,
                                   XSType pBaseType,
                                   XsGSimpleRestrictionModel pRestriction)
                            throws org.xml.sax.SAXException
Creates a new atomic type restricting pBaseType with the constraints pRestriction.

Throws:
org.xml.sax.SAXException
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 XSSimpleTypeImpl

getAtomicType

public XSAtomicType getAtomicType()
Description copied from interface: XSSimpleType

Returns the atomic type details.

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

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