public class DecimalDV extends TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
Constructor and Description |
---|
DecimalDV() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object value1,
Object value2) |
Object |
getActualValue(String content,
ValidationContext context) |
short |
getAllowedFacets() |
int |
getFractionDigits(Object value) |
int |
getTotalDigits(Object value) |
checkExtraRules, getDataLength, getDigit, isDigit, isIdentical
public final short getAllowedFacets()
getAllowedFacets
in class TypeValidator
public Object getActualValue(String content, ValidationContext context) throws InvalidDatatypeValueException
getActualValue
in class TypeValidator
InvalidDatatypeValueException
public final int compare(Object value1, Object value2)
compare
in class TypeValidator
public final int getTotalDigits(Object value)
getTotalDigits
in class TypeValidator
public final int getFractionDigits(Object value)
getFractionDigits
in class TypeValidator
Copyright © 2018 JBoss by Red Hat. All rights reserved.