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, setExpression
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, getValidatorType, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setValidatorContext, setValidatorType
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
public void validate(Object object) throws com.opensymphony.xwork2.validator.ValidationException
validate
in interface com.opensymphony.xwork2.validator.Validator
validate
in class com.opensymphony.xwork2.validator.validators.ExpressionValidator
com.opensymphony.xwork2.validator.ValidationException
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.