Package org.apache.commons.jexl
Class ExpressionFactory
java.lang.Object
org.apache.commons.jexl.JexlOne
org.apache.commons.jexl.ExpressionFactory
Deprecated.
Create a JexlEngine and use the createScript method on that instead.
Creates Expression objects.
To create a JEXL Expression object, pass valid JEXL syntax to the static createExpression() method:
String jexl = "array[1]"; Expression expression = ExpressionFactory.createExpression( jexl );
When an Expression
object is created, the JEXL syntax is
parsed and verified. If the supplied expression is neither an
expression nor a reference, an exception is thrown from createException().
This is a convenience class; using an instance of a JexlEngine
that serves the same purpose with more control is recommended.
- Since:
- 1.0
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.jexl.JexlOne
createExpression, createScript, createScript, createScript
-
Constructor Details
-
ExpressionFactory
public ExpressionFactory()Deprecated.
-