Home | Trees | Indices | Help |
|
---|
|
object --+ | IValidator
Interface that implements a method for validating if an object
is valid or not.
Implementors of this class can be added to any IValidatable implementor to verify its value.
isValid and validate can be used to check if a value is valid. isValid and validate must use the same validation logic so that iff isValid returns false, validate throws an InvalidValueException.
Validators must not have any side effects.
Version: 1.1.2
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Checks the given value against this validator. If the value is valid the method does nothing. If the value is invalid, an InvalidValueException is thrown.
|
Tests if the given value is valid. This method must be symmetric with validate so that validate throws an error iff this method returns false.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jul 6 19:32:51 2013 | http://epydoc.sourceforge.net |