net.sf.jaxme.xs.xml.impl
Class XsTNumFacetImpl
java.lang.Object
net.sf.jaxme.xs.xml.impl.XsObjectImpl
net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
net.sf.jaxme.xs.xml.impl.XsTFacetBaseImpl
net.sf.jaxme.xs.xml.impl.XsTFixedFacetImpl
net.sf.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
Method Summary |
long |
getValue()
|
void |
setValue(long pValue)
|
void |
validate()
Validates the types, attributes, elements, ... internal state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsTNumFacetImpl
protected XsTNumFacetImpl(XsObject pParent)
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 types, attributes, elements, ... internal state.
- Specified by:
validate
in interface XsObject
- Overrides:
validate
in class XsObjectImpl
- Throws:
org.xml.sax.SAXException