@Deprecated public final class ScriptFactory extends JexlOne
Creates Scripts. 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.
| Constructor and Description |
|---|
ScriptFactory()
Deprecated.
|
createExpression, createScript, createScript, createScriptCopyright © 2021. All rights reserved.