|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ScriptManager is an interface that is implemented to handle the management and execution of Scripts. StdScriptManager is the standard implementation of this interface.
StdScriptManager
Method Summary | |
boolean |
addScript(java.lang.String name,
Script script)
addScript adds a Script to the ScriptManager's storage by name. |
Script |
getScript(java.lang.String name)
getScript retrieves a Script from the ScriptManager's storage by name. |
void |
removeScript(java.lang.String name)
removeScript removes a Script from the ScriptManager storage by name. |
void |
runScript(Script script,
Gateway gateway,
boolean useFilters)
runScript directly executs a Script. |
void |
runScript(java.lang.String name,
Gateway gateway,
boolean useFilters)
runScript executs a Script in the ScriptManager's storage by name. |
Method Detail |
public boolean addScript(java.lang.String name, Script script)
name
- the Script namescript
- the Script to addpublic void removeScript(java.lang.String name)
name
- the Script namepublic Script getScript(java.lang.String name)
name
- the Script namepublic void runScript(java.lang.String name, Gateway gateway, boolean useFilters)
name
- the Script namegateway
- the Gateway to use for I/OuseFilters
- whether or not to process filters before executingpublic void runScript(Script script, Gateway gateway, boolean useFilters)
name
- the Script to executegateway
- the Gateway to use for I/OuseFilters
- whether or not to process filters before executing
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |