|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScriptSession
Process object used when executing a
script template
. This ScriptSession
provides support
Method Summary | |
---|---|
Object |
evaluate(String expression)
Evaluates an OGNL expression, where the root object for the expression is the symbols map . |
Object |
evaluate(String expression,
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. |
Map |
getSymbols()
Returns the symbols (which may be created or updated during the execution of the script template). |
Methods inherited from interface org.apache.tapestry.IScriptProcessor |
---|
addBodyScript, addBodyScript, addExternalScript, addExternalScript, addInitializationScript, addInitializationScript, addScriptAfterInitialization, getUniqueString, isBodyScriptAllowed, isExternalScriptAllowed, isInitializationScriptAllowed |
Method Detail |
---|
Object evaluate(String expression)
symbols map
.
org.apache.hivemind.Resource getScriptTemplateResource()
Map getSymbols()
IRequestCycle getRequestCycle()
Object evaluate(String expression, Class desiredType)
ValueConverter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |