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
public class DecimalDV
- extends TypeValidator
Represent the schema type "decimal"
- Version:
- $Id: DecimalDV.java 446745 2006-09-15 21:43:58Z mrglavas $
- Author:
- Neeraj Bajaj, Sun Microsystems, inc., Sandy Gao, IBM
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecimalDV
public DecimalDV()
getAllowedFacets
public final short getAllowedFacets()
- Specified by:
getAllowedFacets
in class TypeValidator
getActualValue
public java.lang.Object getActualValue(java.lang.String content,
ValidationContext context)
throws InvalidDatatypeValueException
- Specified by:
getActualValue
in class TypeValidator
- Throws:
InvalidDatatypeValueException
compare
public final int compare(java.lang.Object value1,
java.lang.Object value2)
- Overrides:
compare
in class TypeValidator
getTotalDigits
public final int getTotalDigits(java.lang.Object value)
- Overrides:
getTotalDigits
in class TypeValidator
getFractionDigits
public final int getFractionDigits(java.lang.Object value)
- Overrides:
getFractionDigits
in class TypeValidator