org.mozilla.javascript
Interface  Callable
- All Known Subinterfaces: 
- Function
- public interface Callable
Generic notion of callable object that can execute some script-related code
 upon request with specified values for script scope and this objects.
 
call
public java.lang.Object call(Context cx,
                             Scriptable scope,
                             Scriptable thisObj,
                             java.lang.Object[] args)
                      throws JavaScriptException
- Perform the call.- 
- Parameters:
- cx- the current Context for this thread
- scope- the scope to use to resolve properties.
- thisObj- the JavaScript- thisobject
- args- the array of arguments
- Returns:
- the result of the call
- Throws:
- JavaScriptException- if an uncaught exception
            occurred while executing the function