Uses of Interface
jakarta.faces.validator.Validator
Packages that use Validator
Package
Description
APIs that are used to link an application's
business logic objects to Jakarta Faces, as well as convenient
pluggable mechanisms to manage the execution of an application that is
based on Jakarta Faces.
Fundamental APIs for user
interface components.
Interface
defining the validator model, and concrete validator implementation classes.
-
Uses of Validator in com.sun.faces.application
Methods in com.sun.faces.application that return ValidatorModifier and TypeMethodDescriptionValidator<?>ApplicationImpl.createValidator(String validatorId) -
Uses of Validator in com.sun.faces.application.annotation
Methods in com.sun.faces.application.annotation with parameters of type ValidatorModifier and TypeMethodDescriptionvoidAnnotationManager.applyValidatorAnnotations(FacesContext ctx, Validator v) Apply annotations relevant toValidatorinstances. -
Uses of Validator in com.sun.faces.application.applicationimpl
Methods in com.sun.faces.application.applicationimpl that return ValidatorModifier and TypeMethodDescriptionValidator<?>InstanceFactory.createValidator(String validatorId) -
Uses of Validator in com.sun.faces.cdi
Classes in com.sun.faces.cdi that implement ValidatorMethods in com.sun.faces.cdi that return ValidatorModifier and TypeMethodDescriptionstatic Validator<?>CdiUtils.createValidator(jakarta.enterprise.inject.spi.BeanManager beanManager, String value) Create a validator using the FacesValidator value attribute.Constructors in com.sun.faces.cdi with parameters of type Validator -
Uses of Validator in com.sun.faces.component.validator
Methods in com.sun.faces.component.validator with parameters of type ValidatorModifier and TypeMethodDescriptionvoidComponentValidators.ValidatorInfo.applyAttributes(Validator v) -
Uses of Validator in com.sun.faces.ext.component
Methods in com.sun.faces.ext.component with parameters of type ValidatorModifier and TypeMethodDescriptionfinal voidUIValidateWholeBean.addValidator(Validator validator) -
Uses of Validator in jakarta.faces.application
Methods in jakarta.faces.application that return ValidatorModifier and TypeMethodDescriptionabstract ValidatorApplication.createValidator(String validatorId) Instantiate and return a newValidatorinstance of the class specified by a previous call toaddValidator()for the specified validator id.ApplicationWrapper.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 ValidatorModifier and TypeMethodDescriptionEditableValueHolder.getValidators()Return the set of registeredValidators for this component instance.UIInput.getValidators()Methods in jakarta.faces.component with parameters of type ValidatorModifier and TypeMethodDescriptionvoidEditableValueHolder.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 ValidatorModifier and TypeClassDescriptionclassA Validator that delegates validation of the bean property to the Bean Validation API.classDoubleRangeValidator is aValidatorthat checks the value of the corresponding component against specified minimum and maximum values.classLengthValidator is aValidatorthat checks the number of characters in the String representation of the value of the associated component.classLongRangeValidator is aValidatorthat checks the value of the corresponding component against specified minimum and maximum values.classMethodExpressionValidator is aValidatorthat wraps aMethodExpression, and it performs validation by executing a method on an object identified by theMethodExpression.classA Validator that checks against a Regular Expression (which is the pattern property).classA Validator that checks for an empty value in the same way that UIInput checks for a value.