net.sourceforge.stripes.validation.expression
Class CommonsElExpressionExecutor
java.lang.Object
net.sourceforge.stripes.validation.expression.ExpressionExecutorSupport
net.sourceforge.stripes.validation.expression.CommonsElExpressionExecutor
- All Implemented Interfaces:
- ExpressionExecutor
public class CommonsElExpressionExecutor
- extends ExpressionExecutorSupport
An implementation of ExpressionExecutor
that relies on the Apache Commons
EL implementation being available in the classpath. This is the case with Tomcat
5.5 and can be made so with other containers by including commons-el.jar in the web
application's classpath.
- Since:
- Stripes 1.5
- Author:
- Tim Fennell
Field Summary |
static String |
COMMONS_CLASS
The FQN of the expression evaluator class in commons-el. |
Constructor Summary |
CommonsElExpressionExecutor()
Default constructor that checks to make sure this class can work, and if not throws
an exception. |
Method Summary |
protected ExpressionEvaluator |
getEvaluator()
Attempts to create an expression evaluator by reflecting to find the implementation
in the apache commons-el project. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMONS_CLASS
public static final String COMMONS_CLASS
- The FQN of the expression evaluator class in commons-el.
- See Also:
- Constant Field Values
CommonsElExpressionExecutor
public CommonsElExpressionExecutor()
- Default constructor that checks to make sure this class can work, and if not throws
an exception.
getEvaluator
protected ExpressionEvaluator getEvaluator()
- Attempts to create an expression evaluator by reflecting to find the implementation
in the apache commons-el project.
- Specified by:
getEvaluator
in class ExpressionExecutorSupport
- Returns:
- an instance of ExpressionEvaluatorImpl if it can, null otherwise
? Copyright 2005-2006, Stripes Development Team.