org.apache.myfaces.custom.emailvalidator
Class EmailValidator
java.lang.Object
org.apache.myfaces.custom.emailvalidator.EmailValidator
- Validator
public class EmailValidator
extends java.lang.Object
implements Validator
$Revision: 169649 $ $Date: 2005-05-11 17:47:12 +0200 (Wed, 11 May 2005) $- mwessendorf (latest modification by $Author: grantsmith $)
static String | EMAIL_MESSAGE_ID - The message identifier of the
FacesMessage to be created if
the maximum length check fails.
|
static String | VALIDATOR_ID - The standard converter id for this converter.
|
void | validate(FacesContext facesContext, UIComponent uiComponent, Object value) - methode that validates an email-address.
|
EMAIL_MESSAGE_ID
public static final String EMAIL_MESSAGE_ID
The message identifier of the FacesMessage
to be created if
the maximum length check fails.
VALIDATOR_ID
public static final String VALIDATOR_ID
The standard converter id for this converter.
EmailValidator
public EmailValidator()
validate
public void validate(FacesContext facesContext,
UIComponent uiComponent,
Object value)
throws ValidatorException
methode that validates an email-address.
it uses the commons-validator