Public Member Functions

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

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

List of all members.

Public Member Functions

 DoubleValidator ()
void setFixed (double fixed)
void setMinExclusive (double minValue)
void setMinInclusive (double minValue)
void setMaxExclusive (double maxValue)
void setMaxInclusive (double maxValue)
void validate (double d, ValidationContext context) throws ValidationException
void validate (Object object) throws ValidationException
void validate (Object object, ValidationContext context) throws ValidationException

Detailed Description

The Double Validation class. This class handles validation for the double type.

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

Constructor & Destructor Documentation

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

Creates a new DoubleValidator with no restrictions


Member Function Documentation

void org.exolab.castor.xml.validators.DoubleValidator.setFixed ( double  fixed  ) 

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

Parameters:
fixed the fixed value
void org.exolab.castor.xml.validators.DoubleValidator.setMaxExclusive ( double  maxValue  ) 

Sets the maximum value that decimals validated with this validator must be less than

Parameters:
maxValue the maximum value an doublevalidated with this validator must be less than
void org.exolab.castor.xml.validators.DoubleValidator.setMaxInclusive ( double  maxValue  ) 

Sets the maximum value that decimals validated with this validator are allowed to be

Parameters:
maxValue the maximum value an doublevalidated with this validator may be
void org.exolab.castor.xml.validators.DoubleValidator.setMinExclusive ( double  minValue  ) 

Sets the minimum value that decimals validated with this validator must be greater than

Parameters:
minValue the minimum value an doublevalidated with this validator must be greater than
void org.exolab.castor.xml.validators.DoubleValidator.setMinInclusive ( double  minValue  ) 

Sets the minimum value that decimals validated with this validator are allowed to be

Parameters:
minValue the minimum value an doublevalidated with this validator may be
void org.exolab.castor.xml.validators.DoubleValidator.validate ( Object  object  )  throws ValidationException

Validates the given Object

Parameters:
object the Object to validate

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

void org.exolab.castor.xml.validators.DoubleValidator.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.DoubleValidator.validate().

void org.exolab.castor.xml.validators.DoubleValidator.validate ( double  d,
ValidationContext  context 
) throws ValidationException

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