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, setValidatorType
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setValidatorContext
public void setValueStack(com.opensymphony.xwork2.util.ValueStack localStack)
setValueStack
in interface com.opensymphony.xwork2.validator.Validator
setValueStack
in class com.opensymphony.xwork2.validator.validators.ValidatorSupport
protected 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.ValidationException
Copyright © 2010–2015 Ifremer. All rights reserved.