public class JexlScriptEngine.JexlScriptObject extends java.lang.Object
The following properties are defined:
Constructor | Description |
---|---|
JexlScriptObject() |
Modifier and Type | Method | Description |
---|---|---|
JexlEngine |
getEngine() |
Gives access to the underlying JEXL engine shared between all ScriptEngine instances.
|
java.io.PrintWriter |
getErr() |
Gives access to the engine scope error writer (defaults to System.err).
|
java.io.Reader |
getIn() |
Gives access to the engine scope input reader (defaults to System.in).
|
org.apache.commons.logging.Log |
getLogger() |
Gives access to the engine logger.
|
java.io.PrintWriter |
getOut() |
Gives access to the engine scope output writer (defaults to System.out).
|
java.lang.Class<java.lang.System> |
getSystem() |
Gives access to System class.
|
public JexlScriptObject()
public JexlEngine getEngine()
Although this allows to manipulate various engine flags (lenient, debug, cache...) for all JexlScriptEngine instances, you probably should only do so if you are in strict control and sole user of the Jexl scripting feature.
public java.io.PrintWriter getOut()
public java.io.PrintWriter getErr()
public java.io.Reader getIn()
public java.lang.Class<java.lang.System> getSystem()
public org.apache.commons.logging.Log getLogger()