public static class Validators.LocaleStringValidator extends Validators.RequiredValidator<java.lang.String>
CLASS_VERSION| Constructor and Description | 
|---|
LocaleStringValidator()
Construct a new instance. 
 | 
LocaleStringValidator(boolean pRequired)
Construct a new instance. 
 | 
LocaleStringValidator(boolean pRequired,
                     java.lang.String pErrorCode)
Construct a new instance. 
 | 
| 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. 
 | 
getClassRequired, 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 LocaleStringValidator()
public LocaleStringValidator(boolean pRequired,
                             java.lang.String pErrorCode)
pRequired - if true, a non-null valid will be requiredpErrorCode - the error code to use if validation fails.public LocaleStringValidator(boolean pRequired)
pRequired - if true, a non-null valid will be requiredpublic 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.RequiredValidator<java.lang.String>pPropertyName - 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.