|
||||||||||
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 | |
---|---|
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). |
Methods inherited from interface org.apache.tapestry.IScriptProcessor |
---|
addBodyScript, addExternalScript, addInitializationScript, getUniqueString |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |