|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.adobe.xfa.scripthandler.rhino.RhinoEngine
public abstract class RhinoEngine
A class to access instances of the Rhino JavaScript engine.
| Method Summary | |
|---|---|
static void |
destroy()
Destroys the Rhino engine. |
static org.mozilla.javascript.Context |
getThreadLocalRuntimeContext()
Creates a Javascript Context which is thread local. |
static org.mozilla.javascript.Scriptable |
getTopLevelScope()
Gets this engine's top level scope. |
static void |
setTopLevelScope(org.mozilla.javascript.ScriptableObject scriptableObject)
Sets the top level scope from the given global object. |
protected static void |
throwException(java.lang.String sError)
Throws a runtime RhinoException of the given error. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.mozilla.javascript.Context getThreadLocalRuntimeContext()
public static void destroy()
public static org.mozilla.javascript.Scriptable getTopLevelScope()
public static void setTopLevelScope(org.mozilla.javascript.ScriptableObject scriptableObject)
scriptableObject - a scriptable object. This object
is registered as a global object, with all other
JavaScript global objects.protected static void throwException(java.lang.String sError)
sError - an error message.
org.mozilla.javascript.EvaluatorException - with the given error message.
|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||