public class EmailValidator
extends java.lang.Object
implements javax.faces.validator.Validator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EMAIL_MESSAGE_ID
The message identifier of the
FacesMessage to be created if
the maximum length check fails. |
static java.lang.String |
VALIDATOR_ID
The standard converter id for this converter.
|
| Constructor and Description |
|---|
EmailValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.Object value)
methode that validates an email-address.
|
public static final java.lang.String VALIDATOR_ID
The standard converter id for this converter.
public static final java.lang.String EMAIL_MESSAGE_ID
The message identifier of the FacesMessage to be created if
the maximum length check fails.
public void validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.Object value)
throws javax.faces.validator.ValidatorException
validate in interface javax.faces.validator.Validatorjavax.faces.validator.ValidatorException