public class DecimalDV extends TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
Constructor and Description |
---|
DecimalDV() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object value1,
java.lang.Object value2) |
java.lang.Object |
getActualValue(java.lang.String content,
ValidationContext context) |
short |
getAllowedFacets() |
int |
getFractionDigits(java.lang.Object value) |
int |
getTotalDigits(java.lang.Object value) |
checkExtraRules, getDataLength, getDigit, isDigit, isIdentical
public final short getAllowedFacets()
getAllowedFacets
in class TypeValidator
public java.lang.Object getActualValue(java.lang.String content, ValidationContext context) throws InvalidDatatypeValueException
getActualValue
in class TypeValidator
InvalidDatatypeValueException
public final int compare(java.lang.Object value1, java.lang.Object value2)
compare
in class TypeValidator
public final int getTotalDigits(java.lang.Object value)
getTotalDigits
in class TypeValidator
public final int getFractionDigits(java.lang.Object value)
getFractionDigits
in class TypeValidator
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.