Package org.lobobrowser.html.js
Class Executor
java.lang.Object
org.lobobrowser.html.js.Executor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.mozilla.javascript.Context
createContext
(URL codeSource, UserAgentContext ucontext) This method should be invoked instead ofContext.enter
.static boolean
executeFunction
(NodeImpl element, 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, URL codeSource, UserAgentContext ucontext)
-
Field Details
-
SCOPE_KEY
A documentUserData
key used to map Javascript scope in the HTML document.- See Also:
-
-
Constructor Details
-
Executor
public Executor()
-
-
Method Details
-
createContext
public static org.mozilla.javascript.Context createContext(URL codeSource, UserAgentContext ucontext) This method should be invoked instead ofContext.enter
.- Parameters:
codeSource
-ucontext
-
-
executeFunction
-
executeFunction
-
executeFunction
public static boolean executeFunction(org.mozilla.javascript.Scriptable thisScope, org.mozilla.javascript.Function f, URL codeSource, UserAgentContext ucontext)
-