DefaultValidator that will compare a testValue against the following
constraints:
Name
Valid Values
Default Value
required
true|false
false
mask
regexp
minLength
integer
0
maxLength
integer
This validator can serve as the base class for more specific validators
author: John McNally author: Quinton McCombs author: Colin Chalmers version: $Id: DefaultValidator.java 264148 2005-08-29 14:21:04Z henning $
Constructor
Parameters: paramMap - a Map of Rule'scontaining constraints on the input. exception: InvalidMaskException - An invalid mask was specified for one of the rules
Determine whether a testValue meets the criteria specified
in the constraints defined for this validator
Parameters: testValue - a String to be tested exception: ValidationException - containing an error message if thetestValue did not pass the validation tests.
Extract the relevant parameters from the constraints listed
in tags within the intake.xml file.
Parameters: paramMap - a Map of Rule'scontaining constraints on the input. exception: InvalidMaskException - An invalid mask was specified for one of the rules
Determine whether a testValue meets the criteria specified
in the constraints defined for this validator
Parameters: testValue - a String to be tested true if valid, false otherwise