|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
ContextAction.run(Context cx)
using the Context instance associated with the current thread.
Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
using the Context instance associated with the current thread.
ContextAction.run(Context cx)
using the Context
instance associated with the current thread.
Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
of callable under restricted security domain where an action is
allowed only if it is allowed according to the Java stack on the
moment of the execWithDomain call and securityDomain.
Context
object.
Context
instances or to notify about Context execution.Context
creation and release events.Context
instance is no longer
associated with the current thread.
FunctionObject.getTypeTag(Class)
and FunctionObject.convertArg(Context, Scriptable, Object, int)
for type convertion.
GeneratedClassLoader
with restrictions imposed by
staticDomain and all current stack frames.
Scriptable
instance using the default
constructor for the class of the underlying Java method.
Context.enter()
with the difference that if a new context
needs to be created, then this context factory is used to create it
instead of the global context factory.
Context.enter(Context)
with the difference that if a new
context needs to be created, then this context factory is used to create
it instead of the global context factory.
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)
.
Context.exit()
, although if you used ContextFactory.enter()
or
ContextFactory.enter(Context)
methods on this object, you should use this exit
method instead of the static one in Context
.
ScriptableObject.getAttributes(String name)
. The engine always
ignored the start argument.
ScriptableObject.getAttributes(int index)
. The engine always
ignored the start argument.
RhinoException.columnNumber()
from the super class.
RhinoException.columnNumber()
from the super class.
ContextFactory
instance used to create this Context
or the result of ContextFactory.getGlobal()
if no factory
was used for Context creation.
observeInstructionCount()
.
FunctionObject.getArity()
.
RhinoException.lineNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
DebugFrame.onLineChange().
- getLineSource() -
Method in exception org.mozilla.javascript.EcmaError
- Deprecated. Use
RhinoException.lineSource()
from the super class.
- getLineSource() -
Method in exception org.mozilla.javascript.EvaluatorException
- Deprecated. Use
RhinoException.lineSource()
from the super class.
- getLocale() -
Method in class org.mozilla.javascript.Context
- Get the current locale.
- getMainMethodClass() -
Method in class org.mozilla.javascript.optimizer.ClassCompiler
- Get the name of the class for main method implementation.
- getMaximumInterpreterStackDepth() -
Method in class org.mozilla.javascript.Context
- Returns the maximum stack depth (in terms of number of call frames)
allowed in a single invocation of interpreter.
- getMessage() -
Method in exception org.mozilla.javascript.RhinoException
-
- getMethodOrConstructor() -
Method in class org.mozilla.javascript.FunctionObject
- Get Java method or constructor this function represent.
- getName() -
Method in exception org.mozilla.javascript.EcmaError
- Gets the name of the error.
- getObjectPrototype(Scriptable) -
Static method in class org.mozilla.javascript.ScriptableObject
- Get the Object.prototype property.
- getOptimizationLevel() -
Method in class org.mozilla.javascript.CompilerEnvirons
-
- getOptimizationLevel() -
Method in class org.mozilla.javascript.Context
- Get the current optimization level.
- getParamAndVarCount() -
Method in interface org.mozilla.javascript.debug.DebuggableScript
- Get number of declared parameters and local variables.
- getParamCount() -
Method in interface org.mozilla.javascript.debug.DebuggableScript
- Get number of declared parameters in function.
- getParamOrVarName(int) -
Method in interface org.mozilla.javascript.debug.DebuggableScript
- Get name of a declared parameter or local variable.
- getParent() -
Method in interface org.mozilla.javascript.debug.DebuggableScript
-
- getParentScope() -
Method in interface org.mozilla.javascript.Scriptable
- Get the parent scope of the object.
- getParentScope() -
Method in class org.mozilla.javascript.ScriptableObject
- Returns the parent (enclosing) scope of the object.
- getProperty(Scriptable, String) -
Static method in class org.mozilla.javascript.ScriptableObject
- Gets a named property from an object or any object in its prototype chain.
- getProperty(Scriptable, int) -
Static method in class org.mozilla.javascript.ScriptableObject
- Gets an indexed property from an object or any object in its prototype chain.
- getPropertyIds(Scriptable) -
Static method in class org.mozilla.javascript.ScriptableObject
- Returns an array of all ids from an object and its prototypes.
- getPrototype() -
Method in interface org.mozilla.javascript.Scriptable
- Get the prototype of the object.
- getPrototype() -
Method in class org.mozilla.javascript.ScriptableObject
- Returns the prototype of the object.
- getSourceName() -
Method in interface org.mozilla.javascript.debug.DebuggableScript
- Get the name of the source (usually filename or URL)
of the script.
- getSourceName() -
Method in exception org.mozilla.javascript.EcmaError
- Deprecated. Use
RhinoException.sourceName()
from the super class.
- getSourceName() -
Method in exception org.mozilla.javascript.EvaluatorException
- Deprecated. Use
RhinoException.sourceName()
from the super class.
- getSourceName() -
Method in exception org.mozilla.javascript.JavaScriptException
- Deprecated. Use
RhinoException.sourceName()
from the super class.
- getTargetExtends() -
Method in class org.mozilla.javascript.optimizer.ClassCompiler
- Get the class that the generated target will extend.
- getTargetImplements() -
Method in class org.mozilla.javascript.optimizer.ClassCompiler
- Get the interfaces that the generated target will implement.
- getThreadLocal(Object) -
Method in class org.mozilla.javascript.Context
- Get a value corresponding to a key.
- getTopLevelScope(Scriptable) -
Static method in class org.mozilla.javascript.ScriptableObject
- Get the global scope.
- getTopScopeValue(Scriptable, Object) -
Static method in class org.mozilla.javascript.ScriptableObject
- Get arbitrary application-specific value associated with the top scope
of the given scope.
- getTypeTag(Class) -
Static method in class org.mozilla.javascript.FunctionObject
-
- getUndefinedValue() -
Static method in class org.mozilla.javascript.Context
- Get the singleton object that represents the JavaScript Undefined value.
- getValue() -
Method in exception org.mozilla.javascript.JavaScriptException
-
- getWrapFactory() -
Method in class org.mozilla.javascript.Context
- Return the current WrapFactory, or null if none is defined.
- getWrappedException() -
Method in exception org.mozilla.javascript.WrappedException
- Get the wrapped exception.
Context.hasFeature(int featureIndex)
.
SecurityController
was already installed.
false
if result of Java method, which is instance of
String
, Number
, Boolean
and
Character
, should be used directly as JavaScript primitive
type.
WrappedException.WrappedException(Throwable)
to report
exceptions in Java code.
Context
instance to be associated with the current
thread.
get
if the property is not
found.
Context.observeInstructionCount(int instructionCount)
.
Context.enter()
and Context.exit()
methods will
throw an exception.
ScriptableObject.setAttributes(String name, int attributes)
.
The engine always ignored the start argument.
ScriptableObject.setAttributes(int index, int attributes)
.
The engine always ignored the start argument.
WrappedException.getWrappedException()
instead.
Context.setWrapFactory(WrapFactory)
Once an instance of this class or an extension of this class is enabled
for a given context (by calling setWrapFactory on that context), Rhino
will call the methods of this class whenever it needs to wrap a value
resulting from a call to a Java method or an access to a Java field.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |