Class JavaScriptCallableThisDecorator

  • All Implemented Interfaces:
    org.mozilla.javascript.Callable

    public class JavaScriptCallableThisDecorator
    extends Object
    implements org.mozilla.javascript.Callable
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Constructor Detail

      • JavaScriptCallableThisDecorator

        public JavaScriptCallableThisDecorator​(org.mozilla.javascript.Callable decorated,
                                               org.mozilla.javascript.Scriptable thisTarget)
    • Method Detail

      • call

        public Object call​(org.mozilla.javascript.Context cx,
                           org.mozilla.javascript.Scriptable scope,
                           org.mozilla.javascript.Scriptable thisObj,
                           Object[] args)
        Specified by:
        call in interface org.mozilla.javascript.Callable