com.primix.tapestry.script
Class ParsedScript

java.lang.Object
  |
  +--com.primix.tapestry.script.ParsedScript
All Implemented Interfaces:
IScript

public class ParsedScript
extends java.lang.Object
implements IScript

A top level container for a number of script tokens.

Since:
0.2.9
Version:
$Id: ParsedScript.java,v 1.4 2001/06/14 15:24:16 hship Exp $
Author:
Howard Ship

Constructor Summary
ParsedScript(java.lang.String scriptPath)
           
 
Method Summary
 void addToken(IScriptToken token)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsedScript

public ParsedScript(java.lang.String scriptPath)
Method Detail

getScriptPath

public java.lang.String getScriptPath()
Description copied from interface: IScript
Returns a string representing where the script was loaded from.
Specified by:
getScriptPath in interface IScript

addToken

public void addToken(IScriptToken token)

execute

public ScriptSession execute(java.util.Map symbols)
                      throws ScriptException
Description copied from interface: IScript
Executes the script, which will read and modify the symbols Map, and return a ScriptSession that can be used to obtain results.
Specified by:
execute in interface IScript