javax.faces.validator
Annotation Type FacesValidator


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface FacesValidator

Since:
2.0
Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Simon Lessard (latest modification by $Author: bommel $)

Required Element Summary
 String value
          The value of this annotation attribute is taken to be the validator-id with which instances of this class of component can be instantiated by calling Application#createValidator(java.lang.String).
 
Optional Element Summary
 boolean isDefault
          If it is true, the validator is added to default list calling Application.addDefaultValidatorId(java.lang.String).
 

Element Detail

value

public abstract String value
The value of this annotation attribute is taken to be the validator-id with which instances of this class of component can be instantiated by calling Application#createValidator(java.lang.String).

isDefault

public abstract boolean isDefault
If it is true, the validator is added to default list calling Application.addDefaultValidatorId(java.lang.String).
Default:
false


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.