Public Member Functions | |
FloatValidator () | |
void | setFixed (float fixed) |
void | setMinExclusive (float minValue) |
void | setMinInclusive (float minValue) |
void | setMaxExclusive (float maxValue) |
void | setMaxInclusive (float maxValue) |
void | setFixed (Float fixed) |
void | setMinExclusive (Float minValue) |
void | setMinInclusive (Float minValue) |
void | setMaxExclusive (Float maxValue) |
void | setMaxInclusive (Float maxValue) |
void | validate (float d, ValidationContext context) throws ValidationException |
void | validate (Object object) throws ValidationException |
void | validate (Object object, ValidationContext context) throws ValidationException |
The Float Validation class. This class handles validation for the float type.
org.exolab.castor.xml.validators.FloatValidator.FloatValidator | ( | ) |
Creates a new FloatValidator with no restrictions
void org.exolab.castor.xml.validators.FloatValidator.setFixed | ( | float | fixed | ) |
Sets the fixed value the float to validate must be equal to.
fixed | the fixed value |
Referenced by org.exolab.castor.xml.validators.FloatValidator.setFixed().
void org.exolab.castor.xml.validators.FloatValidator.setFixed | ( | Float | fixed | ) |
Sets the fixed value the float to validate must be equal to.
fixed | the fixed value |
References org.exolab.castor.xml.validators.FloatValidator.setFixed().
void org.exolab.castor.xml.validators.FloatValidator.setMaxExclusive | ( | float | maxValue | ) |
Sets the maximum value that decimals validated with this validator must be less than
maxValue | the maximum value an floatvalidated with this validator must be less than |
Referenced by org.exolab.castor.xml.validators.FloatValidator.setMaxExclusive().
void org.exolab.castor.xml.validators.FloatValidator.setMaxExclusive | ( | Float | maxValue | ) |
Sets the maximum value that decimals validated with this validator must be less than
maxValue | the maximum value an float validated with this validator must be less than |
References org.exolab.castor.xml.validators.FloatValidator.setMaxExclusive().
void org.exolab.castor.xml.validators.FloatValidator.setMaxInclusive | ( | float | maxValue | ) |
Sets the maximum value that decimals validated with this validator are allowed to be
maxValue | the maximum value an floatvalidated with this validator may be |
Referenced by org.exolab.castor.xml.validators.FloatValidator.setMaxInclusive().
void org.exolab.castor.xml.validators.FloatValidator.setMaxInclusive | ( | Float | maxValue | ) |
Sets the maximum value that decimals validated with this validator are allowed to be
maxValue | the maximum value an float validated with this validator may be |
References org.exolab.castor.xml.validators.FloatValidator.setMaxInclusive().
void org.exolab.castor.xml.validators.FloatValidator.setMinExclusive | ( | float | minValue | ) |
Sets the minimum value that floats validated with this validator must be greater than
minValue | the minimum value an float validated with this validator must be greater than |
Referenced by org.exolab.castor.xml.validators.FloatValidator.setMinExclusive().
void org.exolab.castor.xml.validators.FloatValidator.setMinExclusive | ( | Float | minValue | ) |
Sets the minimum value that decimals validated with this validator must be greater than
minValue | the minimum value an float validated with this validator must be greater than |
References org.exolab.castor.xml.validators.FloatValidator.setMinExclusive().
void org.exolab.castor.xml.validators.FloatValidator.setMinInclusive | ( | Float | minValue | ) |
Sets the minimum value that decimals validated with this validator are allowed to be
minValue | the minimum value an float validated with this validator may be |
References org.exolab.castor.xml.validators.FloatValidator.setMinInclusive().
void org.exolab.castor.xml.validators.FloatValidator.setMinInclusive | ( | float | minValue | ) |
Sets the minimum value that decimals validated with this validator are allowed to be
minValue | the minimum value an floatvalidated with this validator may be |
Referenced by org.exolab.castor.xml.validators.FloatValidator.setMinInclusive().
void org.exolab.castor.xml.validators.FloatValidator.validate | ( | Object | object | ) | throws ValidationException |
Validates the given Object
object | the Object to validate |
References org.exolab.castor.xml.validators.FloatValidator.validate().
void org.exolab.castor.xml.validators.FloatValidator.validate | ( | float | d, | |
ValidationContext | context | |||
) | throws ValidationException |
void org.exolab.castor.xml.validators.FloatValidator.validate | ( | Object | object, | |
ValidationContext | context | |||
) | throws ValidationException |
Validates the given Object
object | the Object to validate | |
context | the ValidationContext |
Implements org.exolab.castor.xml.TypeValidator.
References org.exolab.castor.xml.validators.FloatValidator.validate().