Package org.apache.xerces.impl.dv.xs
Class DecimalDV
java.lang.Object
org.apache.xerces.impl.dv.xs.TypeValidator
org.apache.xerces.impl.dv.xs.DecimalDV
- Direct Known Subclasses:
IntegerDV
Represent the schema type "decimal"
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: DecimalDV.java 446745 2006-09-15 21:43:58Z mrglavas $
- Author:
- Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM
-
Field Summary
Fields inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetActualValue(String content, ValidationContext context) final shortfinal intgetFractionDigits(Object value) final intgetTotalDigits(Object value) Methods inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
checkExtraRules, getDataLength, getDigit, isDigit, isIdentical
-
Constructor Details
-
DecimalDV
public DecimalDV()
-
-
Method Details
-
getAllowedFacets
public final short getAllowedFacets()- Specified by:
getAllowedFacetsin classTypeValidator
-
getActualValue
public Object getActualValue(String content, ValidationContext context) throws InvalidDatatypeValueException - Specified by:
getActualValuein classTypeValidator- Throws:
InvalidDatatypeValueException
-
compare
- Overrides:
comparein classTypeValidator
-
getTotalDigits
- Overrides:
getTotalDigitsin classTypeValidator
-
getFractionDigits
- Overrides:
getFractionDigitsin classTypeValidator
-