Package org.lobobrowser.html.js
Class Executor
- java.lang.Object
-
- org.lobobrowser.html.js.Executor
-
public class Executor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SCOPE_KEY
A documentUserData
key used to map Javascript scope in the HTML document.
-
Constructor Summary
Constructors Constructor Description Executor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.mozilla.javascript.Context
createContext(java.net.URL codeSource, UserAgentContext ucontext)
This method should be invoked instead ofContext.enter
.static boolean
executeFunction(NodeImpl element, java.lang.Object thisObject, org.mozilla.javascript.Function f, Event event)
static boolean
executeFunction(NodeImpl element, org.mozilla.javascript.Function f, Event event)
static boolean
executeFunction(org.mozilla.javascript.Scriptable thisScope, org.mozilla.javascript.Function f, java.net.URL codeSource, UserAgentContext ucontext)
-
-
-
Field Detail
-
SCOPE_KEY
public static final java.lang.String SCOPE_KEY
A documentUserData
key used to map Javascript scope in the HTML document.- See Also:
- Constant Field Values
-
-
Method Detail
-
createContext
public static org.mozilla.javascript.Context createContext(java.net.URL codeSource, UserAgentContext ucontext)
This method should be invoked instead ofContext.enter
.- Parameters:
codeSource
-ucontext
-
-
executeFunction
public static boolean executeFunction(NodeImpl element, org.mozilla.javascript.Function f, Event event)
-
executeFunction
public static boolean executeFunction(NodeImpl element, java.lang.Object thisObject, org.mozilla.javascript.Function f, Event event)
-
executeFunction
public static boolean executeFunction(org.mozilla.javascript.Scriptable thisScope, org.mozilla.javascript.Function f, java.net.URL codeSource, UserAgentContext ucontext)
-
-