org.databene.script.jsr227
Class Jsr223Script
java.lang.Object
org.databene.script.jsr227.Jsr223Script
- All Implemented Interfaces:
- Script
public class Jsr223Script
- extends java.lang.Object
- implements Script
Provides Script functionality based on JSR 227: Scripting for the Java platform.
Created at 23.12.2008 07:19:54
- Since:
- 0.4.7
- Author:
- Volker Bergmann
|
Constructor Summary |
Jsr223Script(java.lang.String text,
javax.script.ScriptEngine engine)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Jsr223Script
public Jsr223Script(java.lang.String text,
javax.script.ScriptEngine engine)
evaluate
public java.lang.Object evaluate(Context context)
throws ScriptException
- Specified by:
evaluate in interface Script
- Throws:
ScriptException
execute
public void execute(Context context,
java.io.Writer out)
throws ScriptException,
java.io.IOException
- Specified by:
execute in interface Script
- Throws:
ScriptException
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.