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

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
All Implemented Interfaces:
XsObject, XsTAnnotated, XsTFacetBase, XsTFixedFacet, XsTNumFacet, XsTOpenAttrs
Direct Known Subclasses:
XsEFractionDigitsImpl, XsELengthImpl, XsEMaxLengthImpl, XsEMinLengthImpl, XsETotalDigitsImpl

public abstract class XsTNumFacetImpl
extends XsTFixedFacetImpl
implements XsTNumFacet

Implementation of xs:numFacet, following this specification:

  <xs:complexType name="numFacet">
    <xs:complexContent>
      <xs:restriction base="xs:facet">
        <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="value" type="xs:nonNegativeInteger" use="required"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsTNumFacetImpl(XsObject pParent)
           
 
Method Summary
 long getValue()
           
 void setValue(long pValue)
           
 void validate()
          Validates the internal state of the type, attribute, element, or whatever object.
 
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.XsTFacetBaseImpl
getFacetName
 
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.XsTFixedFacet
isFixed, setFixed
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTFacetBase
getFacetName
 
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
 

Constructor Detail

XsTNumFacetImpl

protected XsTNumFacetImpl(XsObject pParent)
Method Detail

setValue

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

getValue

public long getValue()
Specified by:
getValue in interface XsTNumFacet

validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: XsObject
Validates the internal state of the type, attribute, element, or whatever object.

Specified by:
validate in interface XsObject
Overrides:
validate in class XsObjectImpl
Throws:
org.xml.sax.SAXException