|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScriptProcessor
Web Script Processor
Method Summary | |
---|---|
Object |
executeScript(ScriptContent location,
Map<String,Object> model)
Execute script |
Object |
executeScript(String path,
Map<String,Object> model)
Execute script |
ScriptContent |
findScript(String path)
Find a script at the specified path (within registered Web Script stores) |
void |
reset()
Reset script cache |
Object |
unwrapValue(Object value)
Unwrap value returned by script TODO: Remove this method when value conversion is truly hidden within script engine |
Method Detail |
---|
ScriptContent findScript(String path)
path
- script path
Object executeScript(String path, Map<String,Object> model)
path
- script pathmodel
- model
ScriptException
Object executeScript(ScriptContent location, Map<String,Object> model)
location
- script locationmodel
- model
Object unwrapValue(Object value)
path
- the path to the filevalue
- value to unwrap
void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |