org.apache.myfaces.custom.emailvalidator

Class EmailValidator

public class EmailValidator extends Object implements Validator

Version: $Revision: 169649 $ $Date: 2005-05-11 17:47:12 +0200 (Wed, 11 May 2005) $

Author: mwessendorf (latest modification by $Author: grantsmith $)

Field Summary
static StringEMAIL_MESSAGE_ID

The message identifier of the FacesMessage to be created if the maximum length check fails.

static StringVALIDATOR_ID

The standard converter id for this converter.

Constructor Summary
EmailValidator()
Method Summary
voidvalidate(FacesContext facesContext, UIComponent uiComponent, Object value)
methode that validates an email-address. it uses the commons-validator

Field Detail

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.

Constructor Detail

EmailValidator

public EmailValidator()

Method Detail

validate

public void validate(FacesContext facesContext, UIComponent uiComponent, Object value)
methode that validates an email-address. it uses the commons-validator