org.apache.tapestry.script
Class ScriptSession

java.lang.Object
  extended by org.apache.tapestry.script.ScriptSession

public class ScriptSession
extends Object

The result of executing a script, the session is used during the parsing process as well. Following IScript.execute(org.apache.tapestry.IRequestCycle, org.apache.tapestry.IScriptProcessor, java.util.Map), the session provides access to output symbols as well as the body and initialization blocks created by the script tokens.

Since:
0.2.9
Version:
$Id: ScriptSession.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
ScriptSession(IResourceLocation scriptLocation, IRequestCycle cycle, IScriptProcessor processor, Map symbols)
           
 
Method Summary
 IScriptProcessor getProcessor()
           
 IRequestCycle getRequestCycle()
           
 IResourceLocation getScriptPath()
           
 Map getSymbols()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptSession

public ScriptSession(IResourceLocation scriptLocation,
                     IRequestCycle cycle,
                     IScriptProcessor processor,
                     Map symbols)
Method Detail

getScriptPath

public IResourceLocation getScriptPath()

getSymbols

public Map getSymbols()

getRequestCycle

public IRequestCycle getRequestCycle()

getProcessor

public IScriptProcessor getProcessor()

toString

public String toString()
Overrides:
toString in class Object