public abstract class AbstractFieldValidator
extends com.opensymphony.xwork2.validator.validators.FieldValidatorSupport
| Constructor and Description |
|---|
AbstractFieldValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getFieldValue(String name,
Object object,
boolean throwExceptionOnFailure)
Return the field value named
name from object,
object should have the appropriate getter/setter. |
void |
setValueStack(com.opensymphony.xwork2.util.ValueStack localStack) |
getFieldName, getValidatorType, setFieldName, setValidatorTypeaddActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setValidatorContextpublic void setValueStack(com.opensymphony.xwork2.util.ValueStack localStack)
setValueStack in interface com.opensymphony.xwork2.validator.ValidatorsetValueStack in class com.opensymphony.xwork2.validator.validators.ValidatorSupportprotected Object getFieldValue(String name, Object object, boolean throwExceptionOnFailure) throws com.opensymphony.xwork2.validator.ValidationException
name from object,
object should have the appropriate getter/setter.name - object - com.opensymphony.xwork2.validator.ValidationExceptionCopyright © 2010–2015 Ifremer. All rights reserved.