javax.faces.validator
Annotation Type FacesValidator


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

Since:
2.0
Version:
$Revision: 696523 $ $Date: 2008-09-24 18:59:05 -0400 (mer., 17 sept. 2008) $
Author:
Simon Lessard (latest modification by $Author: slessard $)

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 © 2011 The Apache Software Foundation. All Rights Reserved.