Package javax.faces.validator
See: Description
-
Interface Summary Interface Description Validator A Validator implementation is a class that can perform validation (correctness checks) on aEditableValueHolder
. -
Class Summary Class Description BeanValidator A Validator that delegates validation of the bean property to the Bean Validation API.
DoubleRangeValidator DoubleRangeValidator is aValidator
that checks the value of the corresponding component against specified minimum and maximum values.LengthValidator LengthValidator is aValidator
that checks the number of characters in the String representation of the value of the associated component.LongRangeValidator LongRangeValidator is aValidator
that checks the value of the corresponding component against specified minimum and maximum values.MethodExpressionValidator MethodExpressionValidator is aValidator
that wraps aMethodExpression
, and it performs validation by executing a method on an object identified by theMethodExpression
.RegexValidator A Validator that checks against a Regular Expression (which is the pattern property).
RequiredValidator A Validator that checks for an empty value in the same way that UIInput checks for a value.
-
Exception Summary Exception Description ValidatorException A ValidatorException is an exception thrown by thevalidate()
method of aValidator
to indicate that validation failed. -
Annotation Types Summary Annotation Type Description FacesValidator The presence of this annotation on a class automatically registers the class with the runtime as a
Validator
.
Package javax.faces.validator Description
Interface defining the validator model, and concrete validator implementation classes.
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/faces/validator/package-summary.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.