List of all members.
Detailed Description
The Boolean Validation class. This class handles validation for the boolean type. This will only check that a boolean has the proper fixed value.
- Author:
- Arnaud Blandin
- Version:
- Revision:
- 1.2
- Date:
- 2003/03/03 09:57:21
Constructor & Destructor Documentation
org.exolab.castor.xml.validators.BooleanValidator.BooleanValidator |
( |
|
) |
|
Member Function Documentation
void org.exolab.castor.xml.validators.BooleanValidator.clearFixed |
( |
|
) |
|
Boolean org.exolab.castor.xml.validators.BooleanValidator.getFixed |
( |
|
) |
|
Returns the fixed value that boolean validated with this validator must be equal to. A null value is returned if no fixed value has been specified.
- Returns:
- the fixed value to validate against.
boolean org.exolab.castor.xml.validators.BooleanValidator.hasFixed |
( |
|
) |
|
Returns true if a fixed value, to validate against, has been set.
- Returns:
- true if a fixed value has been set.
void org.exolab.castor.xml.validators.BooleanValidator.setFixed |
( |
boolean |
fixedValue |
) |
|
Sets the fixed value that boolean validated with this validator must be equal to.
- Parameters:
-
| fixedValue | the fixed value a boolean validated with this validator must be equal to. |
void org.exolab.castor.xml.validators.BooleanValidator.setFixed |
( |
Boolean |
fixedValue |
) |
|
Sets the fixed value that boolean validated with this validator must be equal to.
- Parameters:
-
| fixedValue | the fixed value a boolean validated with this validator must be equal to. |
void org.exolab.castor.xml.validators.BooleanValidator.validate |
( |
Object |
object |
) |
throws ValidationException |
void org.exolab.castor.xml.validators.BooleanValidator.validate |
( |
boolean |
b |
) |
throws ValidationException |
The documentation for this class was generated from the following file: