public abstract class ExpressionExecutorSupport extends java.lang.Object implements ExpressionExecutor
Modifier and Type | Class and Description |
---|---|
protected static class |
ExpressionExecutorSupport.BeanVariableResolver
A JSP EL VariableResolver that first attempts to look up the value of the variable as a first
level property on the ActionBean, and if does not exist then delegates to the built in resolver.
|
ERROR_DEFAULT_SCOPE, ERROR_KEY, THIS
Constructor and Description |
---|
ExpressionExecutorSupport() |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(ActionBean bean,
ParameterName name,
java.util.List<java.lang.Object> values,
ValidationMetadata validationInfo,
ValidationErrors errors)
Performs validation of an ActionBean property using the expression contained
within the validation metadata.
|
protected abstract javax.servlet.jsp.el.ExpressionEvaluator |
getEvaluator()
Must be implemented by subclasses to return an instance of ExpressionEvaluator
that can be used to execute expressions.
|
public void evaluate(ActionBean bean, ParameterName name, java.util.List<java.lang.Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
ExpressionExecutor
evaluate
in interface ExpressionExecutor
bean
- the ActionBean instance owning the field being validatedname
- the name of the field being validatedvalues
- the List of values (post type conversion), each to be validatedvalidationInfo
- the validation metadata for the fielderrors
- the ValidationErrors object into which to place any errorsprotected abstract javax.servlet.jsp.el.ExpressionEvaluator getEvaluator()
? Copyright 2005-2006, Stripes Development Team.