List of all members.
Detailed Description
The validation interface used for validating class instances
- Author:
- Keith Visco
- Version:
- Revision:
- 1.1.1.1
- Date:
- 2003/03/03 07:09:09
Member Function Documentation
Validates the given Object. If the failFast argument is true an exception should be thrown when the first invalid field is encountered, otherwise the the validator should attempt to discover as many errors as possible before throwing a ValidationException.
- Parameters:
-
| object | the Object to validate |
| failFast | a boolean indicating whether or not the validator class should throw an exception on the first error encountered. |
- Exceptions:
-
| ValidationException | when the class is not valid. Validates the given Object. An exception should be thrown when the first invalid field is discovered. |
- Parameters:
-
- Exceptions:
-
Implements org.exolab.castor.xml.TypeValidator.
Implemented in org.exolab.castor.xml.FieldValidator, and org.exolab.castor.xml.Validator.
The documentation for this interface was generated from the following file: