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 ValidatorApplication. createValidator(String validatorId)Instantiate and return a newValidatorinstance of the class specified by a previous call toaddValidator()for the specified validator id.ValidatorApplicationWrapper. createValidator(String validatorId)The default behavior of this method is to callApplication.createValidator(String)on the wrappedApplicationobject. -
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 registeredValidators for this component instance.Validator[]UIInput. getValidators()Methods in jakarta.faces.component with parameters of type Validator Modifier and Type Method Description voidEditableValueHolder. addValidator(Validator validator)Add aValidatorinstance to the set associated with this component.voidUIInput. addValidator(Validator validator)voidEditableValueHolder. removeValidator(Validator validator)Remove aValidatorinstance from the set associated with this component, if it was previously associated.voidUIInput. removeValidator(Validator validator) -
Uses of Validator in jakarta.faces.validator
Classes in jakarta.faces.validator that implement Validator Modifier and Type Class Description classBeanValidatorA Validator that delegates validation of the bean property to the Bean Validation API.classDoubleRangeValidatorDoubleRangeValidator is aValidatorthat checks the value of the corresponding component against specified minimum and maximum values.classLengthValidatorLengthValidator is aValidatorthat checks the number of characters in the String representation of the value of the associated component.classLongRangeValidatorLongRangeValidator is aValidatorthat checks the value of the corresponding component against specified minimum and maximum values.classMethodExpressionValidatorMethodExpressionValidator is aValidatorthat wraps aMethodExpression, and it performs validation by executing a method on an object identified by theMethodExpression.classRegexValidatorA Validator that checks against a Regular Expression (which is the pattern property).classRequiredValidatorA Validator that checks for an empty value in the same way that UIInput checks for a value.
-