Package javax.faces.validator
package javax.faces.validator
Interface defining the validator model, and concrete validator implementation classes.
-
ClassDescriptionA Validator that delegates validation of the bean property to the Bean Validation API.DoubleRangeValidator is a
Validator
that checks the value of the corresponding component against specified minimum and maximum values.The presence of this annotation on a class automatically registers the class with the runtime as aValidator
.LengthValidator is aValidator
that checks the number of characters in the String representation of the value of the associated component.LongRangeValidator is aValidator
that checks the value of the corresponding component against specified minimum and maximum values.MethodExpressionValidator is aValidator
that wraps aMethodExpression
, and it performs validation by executing a method on an object identified by theMethodExpression
.A Validator that checks against a Regular Expression (which is the pattern property).A Validator that checks for an empty value in the same way that UIInput checks for a value.A Validator implementation is a class that can perform validation (correctness checks) on aEditableValueHolder
.A ValidatorException is an exception thrown by thevalidate()
method of aValidator
to indicate that validation failed.