java.lang.Object
org.apache.jena.ext.xerces.impl.dv.xs.TypeValidator
org.apache.jena.ext.xerces.impl.dv.xs.DecimalDV
- Direct Known Subclasses:
IntegerDV
Represent the schema type "decimal"
@xerces.internal
- 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.jena.ext.xerces.impl.dv.xs.TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
-
Constructor Summary
-
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.jena.ext.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
-