public static class Validators.EmailValidator extends Validators.StringTrimmingValidator
CLASS_VERSION| Constructor and Description |
|---|
EmailValidator() |
EmailValidator(boolean pRequired) |
EmailValidator(java.lang.String pErrorCode) |
EmailValidator(java.lang.String pErrorCode,
boolean pRequired) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
validateValue(java.lang.String pPropertyName,
java.lang.Object pPropertyValue,
ValidatorContext<?> pContext)
Validate (and possibly convert) the specified property value.
|
shouldTrimgetMaxLength, setMaxLengthgetClassRequired, getRequiredOption, getRequiredPredicate, isRequired, keyMustBePresent, setClassRequired, setRequired, setRequiredOption, setRequiredPredicateassertAlphanumeric, assertBoolean, assertDateTime, assertDouble, assertInstanceOf, assertInteger, assertLong, assertNotBlankString, assertNotEmpty, assertNotEmpty, assertNotNull, assertNotNull, assertString, assertString, assertString, createInstance, getBeanPropertyValueForValidation, getErrorCode, getNameForClass, getPropertyNames, getPropertyValue, getPropertyValue, hasProperty, isDigits, isRequired, setErrorCode, setPropertyValue, validateBeanPropertypublic EmailValidator()
public EmailValidator(java.lang.String pErrorCode)
public EmailValidator(java.lang.String pErrorCode,
boolean pRequired)
public EmailValidator(boolean pRequired)
public java.lang.String validateValue(java.lang.String pPropertyName,
java.lang.Object pPropertyValue,
ValidatorContext<?> pContext)
ValidatorvalidateValue in interface Validator<java.lang.String>validateValue in class Validators.StringValidatorpPropertyName - the name of the property being validated. This
is typically used as a key for fetching the value from pProperties.pPropertyValue - the fetched property valuepContext - the current validation context.