org.apache.tapestry.engine
Class DefaultScriptSource
java.lang.Object
org.apache.tapestry.engine.DefaultScriptSource
- All Implemented Interfaces:
- IScriptSource
public class DefaultScriptSource
- extends Object
- implements IScriptSource
Provides basic access to scripts available on the classpath. Scripts are cached in
memory once parsed.
- Since:
- 1.0.2
- Version:
- $Id: DefaultScriptSource.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
DefaultScriptSource
public DefaultScriptSource(IResourceResolver resolver)
reset
public void reset()
- Description copied from interface:
IScriptSource
- Invoked to clear any cached scripts.
- Specified by:
reset
in interface IScriptSource
getScript
public IScript getScript(IResourceLocation scriptLocation)
- Description copied from interface:
IScriptSource
- Retrieves the script identified by the location from the source's
cache, reading and parsing the script if necessary.
- Specified by:
getScript
in interface IScriptSource
toString
public String toString()
- Overrides:
toString
in class Object