Home | Trees | Indices | Help |
|
---|
|
object --+ | IValidatable
Interface for validatable objects. Defines methods to verify if the object's value is valid or not, and to add, remove and list registered validators of the object.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Adds a new validator for this object. The validator's
|
Removes a previously registered validator from the object. The
specified validator is removed from the object and its
|
Lists all validators currently registered for the object. If no
validators are registered, returns
|
Tests the current value of the object against all registered
validators. The registered validators are iterated and for each the
|
Checks the validity of the validatable. If the validatable is valid
this method should do nothing, and if it's not valid, it should throw
|
Should the validabtable object accept invalid values. Supporting this configuration possibility is optional. By default invalid values are allowed.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 5 20:45:01 2015 | http://epydoc.sourceforge.net |