Package org.loboevolution.html.js
Class Executor
java.lang.Object
org.loboevolution.html.js.Executor
Executor class.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Context
createContext
(LoboContextFactory factory) static boolean
executeFunction
(NodeImpl element, Function f, Object[] obj, LoboContextFactory contextFactory) executeFunction.static boolean
executeFunction
(Scriptable thisScope, Function f, LoboContextFactory contextFactory) executeFunction.
-
Field Details
-
SCOPE_KEY
A document UserData key used to map Javascript scope in the HTML document.- See Also:
-
-
Constructor Details
-
Executor
public Executor()
-
-
Method Details
-
createContext
-
executeFunction
public static boolean executeFunction(NodeImpl element, Function f, Object[] obj, LoboContextFactory contextFactory) executeFunction.
- Parameters:
element
- aNodeImpl
object.f
- aFunction
object.obj
- an array ofObject
objects. * @param contextFactory aLoboContextFactory
object.- Returns:
- a boolean.
-
executeFunction
public static boolean executeFunction(Scriptable thisScope, Function f, LoboContextFactory contextFactory) executeFunction.
- Parameters:
thisScope
- aScriptable
object.f
- aFunction
object.contextFactory
- aLoboContextFactory
object- Returns:
- a boolean.
-