Class RhinoScriptEngine.CtxFactory
- java.lang.Object
-
- org.htmlunit.corejs.javascript.ContextFactory
-
- org.htmlunit.corejs.javascript.engine.RhinoScriptEngine.CtxFactory
-
- Enclosing class:
- RhinoScriptEngine
private static final class RhinoScriptEngine.CtxFactory extends ContextFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ContextFactory
ContextFactory.GlobalSetter, ContextFactory.Listener
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CtxFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
hasFeature(Context cx, int featureIndex)
Implementation ofContext.hasFeature(int featureIndex)
.protected void
onContextCreated(Context cx)
-
Methods inherited from class org.htmlunit.corejs.javascript.ContextFactory
addListener, call, checkNotSealed, createClassLoader, doTopCall, enter, enterContext, enterContext, exit, getApplicationClassLoader, getE4xImplementationFactory, getGlobal, getGlobalSetter, hasExplicitGlobal, initApplicationClassLoader, initGlobal, isSealed, makeContext, observeInstructionCount, onContextReleased, removeListener, seal
-
-
-
-
Method Detail
-
hasFeature
protected boolean hasFeature(Context cx, int featureIndex)
Description copied from class:ContextFactory
Implementation ofContext.hasFeature(int featureIndex)
. This can be used to customizeContext
without introducing additional subclasses.- Overrides:
hasFeature
in classContextFactory
-
onContextCreated
protected void onContextCreated(Context cx)
- Overrides:
onContextCreated
in classContextFactory
-
-