org.helma.javascript
Class HelmaContextFactory
java.lang.Object
org.mozilla.javascript.ContextFactory
org.helma.javascript.HelmaContextFactory
public class HelmaContextFactory
- extends org.mozilla.javascript.ContextFactory
| Nested classes/interfaces inherited from class org.mozilla.javascript.ContextFactory |
org.mozilla.javascript.ContextFactory.Listener |
| Methods inherited from class org.mozilla.javascript.ContextFactory |
addListener, call, checkNotSealed, createClassLoader, doTopCall, enter, enterContext, enterContext, exit, getApplicationClassLoader, getE4xImplementationFactory, getGlobal, hasExplicitGlobal, initApplicationClassLoader, initGlobal, isSealed, makeContext, observeInstructionCount, removeListener, seal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelmaContextFactory
public HelmaContextFactory(RhinoEngine engine)
hasFeature
protected boolean hasFeature(org.mozilla.javascript.Context cx,
int featureIndex)
- Overrides:
hasFeature in class org.mozilla.javascript.ContextFactory
onContextCreated
protected void onContextCreated(org.mozilla.javascript.Context cx)
- Overrides:
onContextCreated in class org.mozilla.javascript.ContextFactory
onContextReleased
protected void onContextReleased(org.mozilla.javascript.Context cx)
- Overrides:
onContextReleased in class org.mozilla.javascript.ContextFactory
setStrictMode
public void setStrictMode(boolean flag)
setWarningAsError
public void setWarningAsError(boolean flag)
setLanguageVersion
public void setLanguageVersion(int version)
setOptimizationLevel
public void setOptimizationLevel(int optimizationLevel)
setErrorReporter
public void setErrorReporter(org.mozilla.javascript.ErrorReporter errorReporter)
setGeneratingDebug
public void setGeneratingDebug(boolean generatingDebug)