Class DoubleDV
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dv.xs.TypeValidator
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dv.xs.DoubleDV
-
public class DoubleDV extends TypeValidator
Represent the schema type "double"- Version:
- $Id$
- Author:
- Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM
-
-
Field Summary
-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dv.xs.TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
-
-
Constructor Summary
Constructors Constructor Description DoubleDV()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Object value1, Object value2)
Object
getActualValue(String content, ValidationContext context)
short
getAllowedFacets()
boolean
isIdentical(Object value1, Object value2)
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dv.xs.TypeValidator
checkExtraRules, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit
-
-
-
-
Method Detail
-
getAllowedFacets
public 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
public int compare(Object value1, Object value2)
- Overrides:
compare
in classTypeValidator
-
isIdentical
public boolean isIdentical(Object value1, Object value2)
- Overrides:
isIdentical
in classTypeValidator
-
-