Package jakarta.faces.validator
Annotation Type FacesValidator
@Retention(RUNTIME)
@Target({TYPE,FIELD,METHOD,PARAMETER})
@Inherited
@Qualifier
public @interface FacesValidator
- Since:
- 2.0
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf it is true, the validator is added to default list callingApplication.addDefaultValidatorId(java.lang.String).booleanThe value of this annotation attribute is taken to be the validator-id with which instances of this class of component can be instantiated by callingApplication.createValidator(java.lang.String).
-
Element Details
-
value
String valueThe value of this annotation attribute is taken to be the validator-id with which instances of this class of component can be instantiated by callingApplication.createValidator(java.lang.String).- Default:
- ""
-
isDefault
boolean isDefaultIf it is true, the validator is added to default list callingApplication.addDefaultValidatorId(java.lang.String).- Default:
- false
-
managed
boolean managed- Default:
- false
-