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

Class XsTNumFacetImpl

Implemented Interfaces:
XsObject, XsTAnnotated, XsTFacetBase, XsTFixedFacet, XsTNumFacet, XsTOpenAttrs
Known Direct 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

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, validate

Constructor Details

XsTNumFacetImpl

protected XsTNumFacetImpl(XsObject pParent)

Method Details

getValue

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

setValue

public void setValue(long pValue)
            throws SAXException
Specified by:
setValue in interface XsTNumFacet

validate

public void validate()
            throws SAXException
Validates the internal state of the type, attribute, element, or whatever object.
Specified by:
validate in interface XsObject
Overrides:
validate in interface XsObjectImpl