Uses of Interface
jakarta.faces.validator.Validator
-
Packages that use Validator Package Description jakarta.faces.application jakarta.faces.component jakarta.faces.validator -
-
Uses of Validator in jakarta.faces.application
Methods in jakarta.faces.application that return Validator Modifier and Type Method Description abstract Validator
Application. createValidator(String validatorId)
Instantiate and return a newValidator
instance of the class specified by a previous call toaddValidator()
for the specified validator id.Validator
ApplicationWrapper. createValidator(String validatorId)
The default behavior of this method is to callApplication.createValidator(String)
on the wrappedApplication
object. -
Uses of Validator in jakarta.faces.component
Methods in jakarta.faces.component that return Validator Modifier and Type Method Description Validator[]
EditableValueHolder. getValidators()
Return the set of registeredValidator
s for this component instance.Validator[]
UIInput. getValidators()
Methods in jakarta.faces.component with parameters of type Validator Modifier and Type Method Description void
EditableValueHolder. addValidator(Validator validator)
Add aValidator
instance to the set associated with this component.void
UIInput. addValidator(Validator validator)
void
EditableValueHolder. removeValidator(Validator validator)
Remove aValidator
instance from the set associated with this component, if it was previously associated.void
UIInput. removeValidator(Validator validator)
-
Uses of Validator in jakarta.faces.validator
Classes in jakarta.faces.validator that implement Validator Modifier and Type Class Description class
BeanValidator
A Validator that delegates validation of the bean property to the Bean Validation API.class
DoubleRangeValidator
DoubleRangeValidator is aValidator
that checks the value of the corresponding component against specified minimum and maximum values.class
LengthValidator
LengthValidator is aValidator
that checks the number of characters in the String representation of the value of the associated component.class
LongRangeValidator
LongRangeValidator is aValidator
that checks the value of the corresponding component against specified minimum and maximum values.class
MethodExpressionValidator
MethodExpressionValidator is aValidator
that wraps aMethodExpression
, and it performs validation by executing a method on an object identified by theMethodExpression
.class
RegexValidator
A Validator that checks against a Regular Expression (which is the pattern property).class
RequiredValidator
A Validator that checks for an empty value in the same way that UIInput checks for a value.
-