public class JexlScriptEngine.JexlScriptObject extends Object
The following properties are defined:
Constructor and Description |
---|
JexlScriptObject() |
Modifier and Type | Method and Description |
---|---|
JexlEngine |
getEngine()
Gives access to the underlying JEXL engine shared between all ScriptEngine instances.
|
PrintWriter |
getErr()
Gives access to the engine scope error writer (defaults to System.err).
|
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.
|
PrintWriter |
getOut()
Gives access to the engine scope output writer (defaults to System.out).
|
Class<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 PrintWriter getOut()
public PrintWriter getErr()
public Reader getIn()
public org.apache.commons.logging.Log getLogger()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.