public class CoserExpressionValidator
extends com.opensymphony.xwork2.validator.validators.ExpressionValidator
ExpressionValidator pour avoir les exceptions.| Constructor and Description |
|---|
CoserExpressionValidator() |
| 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) |
void |
validate(Object object) |
getExpression, setExpressionaddActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, getValidatorType, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setValidatorContext, setValidatorTypepublic void setValueStack(com.opensymphony.xwork2.util.ValueStack localStack)
setValueStack in interface com.opensymphony.xwork2.validator.ValidatorsetValueStack in class com.opensymphony.xwork2.validator.validators.ValidatorSupportpublic void validate(Object object) throws com.opensymphony.xwork2.validator.ValidationException
validate in interface com.opensymphony.xwork2.validator.Validatorvalidate in class com.opensymphony.xwork2.validator.validators.ExpressionValidatorcom.opensymphony.xwork2.validator.ValidationExceptionprotected 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.