public class VATIdentificationNumberFieldValidator extends NuitonFieldValidatorSupport
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
p |
protected static String |
VAT_INTRA_REGEXP |
skip| Constructor and Description |
|---|
VATIdentificationNumberFieldValidator() |
| 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, validategetCurrentValue, getFieldName, setFieldName, setValidatorTypeaddActionError, addFieldError, getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setTextProviderFactory, setValidatorContext, setValueStackpublic VATIdentificationNumberFieldValidator()
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–2017 CodeLutin. All rights reserved.