Class JexlScriptEngine.JexlScriptObject
java.lang.Object
org.apache.commons.jexl3.scripting.JexlScriptEngine.JexlScriptObject
- Enclosing class:
- JexlScriptEngine
Implements engine and engine context properties for use by JEXL scripts.
 Those properties are always bound to the default engine scope context.
 
The following properties are defined:
- in - refers to the engine scope reader that defaults to reading System.err
- out - refers the engine scope writer that defaults to writing in System.out
- err - refers to the engine scope writer that defaults to writing in System.err
- logger - the JexlScriptEngine logger
- System - the System.class
- Since:
- 2.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGives access to the underlying JEXL engine shared between all ScriptEngine instances.getErr()Gives access to the engine scope error writer (defaults to System.err).getIn()Gives access to the engine scope input reader (defaults to System.in).org.apache.commons.logging.LogGives access to the engine logger.getOut()Gives access to the engine scope output writer (defaults to System.out).Gives access to System class.
- 
Constructor Details- 
JexlScriptObjectpublic JexlScriptObject()Default constructor
 
- 
- 
Method Details- 
getEngineGives access to the underlying JEXL engine shared between all ScriptEngine instances.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. - Returns:
- the shared underlying JEXL engine
 
- 
getErrGives access to the engine scope error writer (defaults to System.err).- Returns:
- the engine error writer
 
- 
getInGives access to the engine scope input reader (defaults to System.in).- Returns:
- the engine input reader
 
- 
getLoggerGives access to the engine logger.- Returns:
- the JexlScriptEngine logger
 
- 
getOutGives access to the engine scope output writer (defaults to System.out).- Returns:
- the engine output writer
 
- 
getSystemGives access to System class.- Returns:
- System.class
 
 
-