org.apache.myfaces.custom.emailvalidator
Class EmailValidator

java.lang.Object
  extended by org.apache.myfaces.validator.ValidatorBase
      extended by org.apache.myfaces.custom.emailvalidator.EmailValidator
All Implemented Interfaces:
EventListener, javax.faces.component.StateHolder, javax.faces.validator.Validator

Deprecated. use myfaces commons mcv:validateEmail instead

public class EmailValidator
extends ValidatorBase

A custom validator for email address format, based upons Jakarta Commons. Unless otherwise specified, all attributes accept static values or EL expressions.

Since:
1.1.7
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (Wed, 03 Sep 2008) $
Author:
mwessendorf (latest modification by $Author: lu4242 $)

Field Summary
static String EMAIL_MESSAGE_ID
          Deprecated. The message identifier of the FacesMessage to be created if the maximum length check fails.
static String VALIDATOR_ID
          Deprecated. The standard converter id for this converter.
 
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
 
Constructor Summary
EmailValidator()
          Deprecated.  
 
Method Summary
 void validate(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Object value)
          Deprecated. methode that validates an email-address.
 
Methods inherited from class org.apache.myfaces.validator.ValidatorBase
getDetailMessage, getFacesContext, getFacesMessage, getMessage, getSummaryMessage, getValueBinding, isTransient, restoreAttachedState, restoreState, saveAttachedState, saveState, setDetailMessage, setMessage, setSummaryMessage, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATOR_ID

public static final String VALIDATOR_ID
Deprecated. 

The standard converter id for this converter.

See Also:
Constant Field Values

EMAIL_MESSAGE_ID

public static final String EMAIL_MESSAGE_ID
Deprecated. 

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

See Also:
Constant Field Values
Constructor Detail

EmailValidator

public EmailValidator()
Deprecated. 
Method Detail

validate

public void validate(javax.faces.context.FacesContext facesContext,
                     javax.faces.component.UIComponent uiComponent,
                     Object value)
              throws javax.faces.validator.ValidatorException
Deprecated. 
methode that validates an email-address. it uses the commons-validator

Throws:
javax.faces.validator.ValidatorException


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