public class FrenchSiretFieldValidator extends NuitonFieldValidatorSupport
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
p |
protected static String |
SIRET_REGEXP |
skip| Constructor and Description |
|---|
FrenchSiretFieldValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getValidatorType() |
void |
validateWhenNotSkip(Object object)
Method to be invoked when skip parameter was not evaludated to
true. |
evaluateSkipParameter, getFieldValue, setSkip, validategetFieldName, setFieldName, setValidatorTypeaddActionError, addFieldError, getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setValidatorContext, setValueStackprotected static final String SIRET_REGEXP
protected static final Pattern p
public void validateWhenNotSkip(Object object) throws com.opensymphony.xwork2.validator.ValidationException
NuitonFieldValidatorSupporttrue.validateWhenNotSkip in class NuitonFieldValidatorSupportobject - the object to be validated.com.opensymphony.xwork2.validator.ValidationException - is thrown if there is validation error(s).public String getValidatorType()
getValidatorType in interface com.opensymphony.xwork2.validator.ValidatorgetValidatorType in class com.opensymphony.xwork2.validator.validators.FieldValidatorSupportCopyright © 2013–2016 CodeLutin. All rights reserved.