public interface ScriptSession extends IScriptProcessor
script template
. This
ScriptSession provides supportModifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(java.lang.String expression)
Evaluates an OGNL expression, where the root object for the expression is the
symbols map . |
java.lang.Object |
evaluate(java.lang.String expression,
java.lang.Class desiredType)
Evaluates an expression and coerces the result to a particlar type.
|
IRequestCycle |
getRequestCycle()
Returns the current request cycle.
|
org.apache.hivemind.Resource |
getScriptTemplateResource()
Returns the resource for the script template.
|
java.util.Map |
getSymbols()
Returns the symbols (which may be created or updated during the execution of the script
template).
|
addBodyScript, addExternalScript, addInitializationScript, getUniqueString
java.lang.Object evaluate(java.lang.String expression)
symbols map
.org.apache.hivemind.Resource getScriptTemplateResource()
java.util.Map getSymbols()
IRequestCycle getRequestCycle()
java.lang.Object evaluate(java.lang.String expression, java.lang.Class desiredType)
ValueConverter