Package org.apache.commons.jexl
Class ScriptFactory
java.lang.Object
org.apache.commons.jexl.JexlOne
org.apache.commons.jexl.ScriptFactory
Deprecated.
Create a JexlEngine and use the createScript method on that instead.
Creates Script
s. To create a JEXL Script, pass
valid JEXL syntax to the static createScript() method:
String jexl = "y = x * 12 + 44; y = y * 4;"; Script script = ScriptFactory.createScript( jexl );
When an Script
is created, the JEXL syntax is
parsed and verified.
This is a convenience class; using an instance of a JexlEngine
that serves the same purpose with more control is recommended.
- Since:
- 1.1
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.jexl.JexlOne
createExpression, createScript, createScript, createScript
-
Constructor Details
-
ScriptFactory
public ScriptFactory()Deprecated.
-