Class JavaScriptCallableThisDecorator

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

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

      Constructors 
      Constructor Description
      JavaScriptCallableThisDecorator​(org.mozilla.javascript.Callable decorated, org.mozilla.javascript.Scriptable thisTarget)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object call​(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

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

      • JavaScriptCallableThisDecorator

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

      • call

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