Package jakarta.faces.validator
-
Interface Summary Interface Description Validator<T> 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.FacesValidator.Literal Supports inline instantiation of theFacesValidator
qualifier.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 aValidator
.