public abstract class ExpressionExecutorSupport extends 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,
List<Object> values,
ValidationMetadata validationInfo,
ValidationErrors errors)
Performs validation of an ActionBean property using the expression contained
within the validation metadata.
|
protected abstract 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, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
ExpressionExecutorevaluate in interface ExpressionExecutorbean - 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 ExpressionEvaluator getEvaluator()
© Copyright 2005-2006, Stripes Development Team.