@ClientSideValidator(function="CAF.Validator.email", base="wm_cafshared", scripts=@ClientSideScript(resource="/dyn/j/ui/js/validators/standard/standard.js",library="validators/standard/standard")) public class EmailValidator extends BaseValidator
Modifier and Type | Field and Description |
---|---|
static String |
ADDRESS_INVALID_MESSAGE_ID |
static String |
VALIDATOR_ID
The standard converter id for this converter.
|
BAD_PARAMETER_LONG_ID, BAD_PARAMETER_SHORT_ID, BAD_STRING_LONG_ID, BAD_STRING_SHORT_ID, BAD_TYPE_LONG_ID, BAD_TYPE_SHORT_ID, EMPTY_MESSAGE_ID, m_bShowCAFErrorMsg, m_bTransient, m_clientLocale, m_CustomMessage, MIN_MAX_MESSAGE_ID, NULL_PATTERN_MESSAGE_ID, OVER_MAX_MESSAGE_ID, UNDER_MIN_MESSAGE_ID
NOT_IN_RANGE_MESSAGE_ID
Constructor and Description |
---|
EmailValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(String email) |
void |
validate(FacesContext context,
UIComponent component,
Object value) |
getClientLocale, getCustomErrorMsg, getRegionAsString, getshowCAFErrorMsg, isStringObj, isTransient, isValue, restoreState, saveState, setCustomErrorMsg, setRegion, setshowCAFErrorMsg, setTransient
public static final String VALIDATOR_ID
The standard converter id for this converter.
public static final String ADDRESS_INVALID_MESSAGE_ID
public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
validate
in interface Validator
validate
in class BaseValidator
ValidatorException
public boolean isValid(String email)