|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mozilla.javascript.ContextHelper
public class ContextHelper
Hack to enable creating E4X XML from Axiom OMElements outside of a script invocation. To do this requires Context.topCallScope not be null, but outside of a script invocation it is null, hence this method to enable setting it. Could be a bug in the Axiom E4X impl as the XmlBeans impl does not require this.
| Constructor Summary | |
|---|---|
ContextHelper()
|
|
| Method Summary | |
|---|---|
static void |
setTopCallScope(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextHelper()
| Method Detail |
|---|
public static void setTopCallScope(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||