Interface ScriptObject


  • public interface ScriptObject
    An object that should be made available in the JavaScript engine.
    Author:
    burgetr
    • Method Detail

      • getVarName

        String getVarName()
        Gets the name of the object in the JavaScript engine.
        Returns:
        the JS identifier
      • setIO

        void setIO​(Reader in,
                   Writer out,
                   Writer err)
        Sets the readers/writers to be used by the script.
        Parameters:
        in - input reader
        out - standard output writer
        err - error output writer