org.apache.ws.jaxme.xs.xml.impl
Class XsETotalDigitsImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended by org.apache.ws.jaxme.xs.xml.impl.XsTFacetBaseImpl
                  extended by org.apache.ws.jaxme.xs.xml.impl.XsTFixedFacetImpl
                      extended by org.apache.ws.jaxme.xs.xml.impl.XsTNumFacetImpl
                          extended by org.apache.ws.jaxme.xs.xml.impl.XsETotalDigitsImpl
All Implemented Interfaces:
XsETotalDigits, XsObject, XsTAnnotated, XsTFacetBase, XsTFixedFacet, XsTNumFacet, XsTOpenAttrs

public class XsETotalDigitsImpl
extends XsTNumFacetImpl
implements XsETotalDigits

Implementation of xs:totalDigits, following this specification:

  <xs:element name="totalDigits" id="totalDigits">
    <xs:annotation>
      <xs:documentation
        source="http://www.w3.org/TR/xmlschema-2/#element-totalDigits"/>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:restriction base="xs:numFacet">
          <xs:sequence>
            <xs:element ref="xs:annotation" minOccurs="0"/>
          </xs:sequence>
          <xs:attribute name="value" type="xs:positiveInteger" use="required"/>
        </xs:restriction>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsETotalDigitsImpl(XsObject pParent)
           
 
Method Summary
 java.lang.String getFacetName()
           
 void setValue(long pValue)
           
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTNumFacetImpl
getValue, validate
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTFixedFacetImpl
isFixed, setFixed
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
 
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.xml.XsTNumFacet
getValue
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTFixedFacet
isFixed, setFixed
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Constructor Detail

XsETotalDigitsImpl

protected XsETotalDigitsImpl(XsObject pParent)
Method Detail

setValue

public void setValue(long pValue)
              throws org.xml.sax.SAXException
Specified by:
setValue in interface XsTNumFacet
Overrides:
setValue in class XsTNumFacetImpl
Throws:
org.xml.sax.SAXException

getFacetName

public java.lang.String getFacetName()
Specified by:
getFacetName in interface XsTFacetBase
Specified by:
getFacetName in class XsTFacetBaseImpl