Public Member Functions

org.exolab.castor.xml.validators.FloatValidator Class Reference

Inheritance diagram for org.exolab.castor.xml.validators.FloatValidator:
org.exolab.castor.xml.validators.PatternValidator org.exolab.castor.xml.TypeValidator

List of all members.

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

Detailed Description

The Float Validation class. This class handles validation for the float type.

Author:
Arnaud Blandin
Version:
Revision:
1.2
Date:
2003/03/03 09:57:21

Constructor & Destructor Documentation

org.exolab.castor.xml.validators.FloatValidator.FloatValidator (  ) 

Creates a new FloatValidator with no restrictions


Member Function Documentation

void org.exolab.castor.xml.validators.FloatValidator.setFixed ( float  fixed  ) 

Sets the fixed value the float to validate must be equal to.

Parameters:
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.

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
object the Object to validate
context the ValidationContext

Implements org.exolab.castor.xml.TypeValidator.

References org.exolab.castor.xml.validators.FloatValidator.validate().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties