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 int
getActualValue
(String content, ValidationContext context) final short
final int
getFractionDigits
(Object value) final int
getTotalDigits
(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:
getAllowedFacets
in classTypeValidator
-
getActualValue
public Object getActualValue(String content, ValidationContext context) throws InvalidDatatypeValueException - Specified by:
getActualValue
in classTypeValidator
- Throws:
InvalidDatatypeValueException
-
compare
- Overrides:
compare
in classTypeValidator
-
getTotalDigits
- Overrides:
getTotalDigits
in classTypeValidator
-
getFractionDigits
- Overrides:
getFractionDigits
in classTypeValidator
-