org.mozilla.javascript
Class ContextHelper
java.lang.Object
org.mozilla.javascript.ContextHelper
public class ContextHelper
- extends Object
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.
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 |
ContextHelper
public ContextHelper()
setTopCallScope
public static void setTopCallScope(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.