Class ScriptEngine

  • All Implemented Interfaces:
    javax.script.ScriptEngine

    public class ScriptEngine
    extends javax.script.AbstractScriptEngine
    Author:
    Peter Verhas date Jul 26, 2012
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Context ctx  
      ScriptBasicEngineFactory scriptEngineFactory  
      • Fields inherited from class javax.script.AbstractScriptEngine

        context
      • Fields inherited from interface javax.script.ScriptEngine

        ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.script.Bindings createBindings()  
      java.lang.Object eval​(java.io.Reader reader, javax.script.ScriptContext context)  
      java.lang.Object eval​(java.lang.String script, javax.script.ScriptContext context)  
      ScriptBasicEngineFactory getFactory()  
      • Methods inherited from class javax.script.AbstractScriptEngine

        eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • eval

        public java.lang.Object eval​(java.lang.String script,
                                     javax.script.ScriptContext context)
                              throws javax.script.ScriptException
        Throws:
        javax.script.ScriptException
      • eval

        public java.lang.Object eval​(java.io.Reader reader,
                                     javax.script.ScriptContext context)
                              throws javax.script.ScriptException
        Throws:
        javax.script.ScriptException
      • createBindings

        public javax.script.Bindings createBindings()