Example usage for Java javax.script CompiledScript fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | eval() Executes the program stored in the CompiledScript object. |
Object | eval(ScriptContext context) Executes the program stored in this CompiledScript object. |
Object | eval(Bindings bindings) Executes the program stored in the CompiledScript object using the supplied Bindings of attributes as the ENGINE_SCOPE of the associated ScriptEngine during script execution. |
ScriptEngine | getEngine() Returns the ScriptEngine whose compile method created this CompiledScript . |