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 privateCtxFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanhasFeature(Context cx, int featureIndex)Implementation ofContext.hasFeature(int featureIndex).protected voidonContextCreated(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:ContextFactoryImplementation ofContext.hasFeature(int featureIndex). This can be used to customizeContextwithout introducing additional subclasses.- Overrides:
hasFeaturein classContextFactory
-
onContextCreated
protected void onContextCreated(Context cx)
- Overrides:
onContextCreatedin classContextFactory
-
-