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