com.primix.tapestry
Interface IScript

All Known Implementing Classes:
ParsedScript

public interface IScript

An object that can convert a set of symbols into a collection of JavaScript statements.

IScript implementation must be threadsafe.

Since:
1.0.2
Version:
$Id: IScript.java,v 1.1 2001/06/14 15:24:16 hship Exp $
Author:
Howard Ship

Method Summary
 ScriptSession execute(java.util.Map symbols)
          Executes the script, which will read and modify the symbols Map, and return a ScriptSession that can be used to obtain results.
 java.lang.String getScriptPath()
          Returns a string representing where the script was loaded from.
 

Method Detail

getScriptPath

public java.lang.String getScriptPath()
Returns a string representing where the script was loaded from.

execute

public ScriptSession execute(java.util.Map symbols)
                      throws ScriptException
Executes the script, which will read and modify the symbols Map, and return a ScriptSession that can be used to obtain results.