org.exolab.castor.xml.validators
public class FloatValidator extends PatternValidator implements TypeValidator
Version: $Revision: 5951 $ $Date: 2003-03-03 02:57:21 -0700 (Mon, 03 Mar 2003) $
Constructor Summary | |
---|---|
FloatValidator()
Creates a new FloatValidator with no restrictions
|
Method Summary | |
---|---|
void | setFixed(float fixed)
Sets the fixed value the float to validate must
be equal to. |
void | setFixed(Float fixed)
Sets the fixed value the float to validate must
be equal to. |
void | setMaxExclusive(float maxValue)
Sets the maximum value that decimals validated with this
validator must be less than |
void | setMaxExclusive(Float maxValue)
Sets the maximum value that decimals validated with this
validator must be less than |
void | setMaxInclusive(float maxValue)
Sets the maximum value that decimals validated with this
validator are allowed to be |
void | setMaxInclusive(Float maxValue)
Sets the maximum value that decimals validated with this
validator are allowed to be |
void | setMinExclusive(float minValue)
Sets the minimum value that floats validated with this
validator must be greater than |
void | setMinExclusive(Float minValue)
Sets the minimum value that decimals validated with this
validator must be greater than |
void | setMinInclusive(float minValue)
Sets the minimum value that decimals validated with this
validator are allowed to be |
void | setMinInclusive(Float minValue)
Sets the minimum value that decimals validated with this
validator are allowed to be |
void | validate(float d, ValidationContext context) |
void | validate(Object object)
Validates the given Object
|
void | validate(Object object, ValidationContext context)
Validates the given Object
|
Parameters: fixed the fixed value
Parameters: fixed the fixed value
Parameters: maxValue the maximum value an floatvalidated with this validator must be less than
Parameters: maxValue the maximum value an float validated with this validator must be less than
Parameters: maxValue the maximum value an floatvalidated with this validator may be
Parameters: maxValue the maximum value an float validated with this validator may be
Parameters: minValue the minimum value an float validated with this validator must be greater than
Parameters: minValue the minimum value an float validated with this validator must be greater than
Parameters: minValue the minimum value an floatvalidated with this validator may be
Parameters: minValue the minimum value an float validated with this validator may be
Parameters: object the Object to validate
Parameters: object the Object to validate context the ValidationContext