Deprecated Methods |
org.mozilla.javascript.Context.addContextListener(ContextListener)
|
org.mozilla.javascript.Context.addContextListener(ContextListener)
|
org.mozilla.javascript.Context.call(ContextAction)
use ContextFactory.call(ContextAction) instead as
this method relies on usage of a static singleton "global"
ContextFactory. |
org.mozilla.javascript.Context.call(ContextAction)
use ContextFactory.call(ContextAction) instead as
this method relies on usage of a static singleton "global"
ContextFactory. |
org.mozilla.javascript.ScriptRuntime.call(Context, Object, Object, Object[], Scriptable)
The method is only present for compatibility. |
org.mozilla.javascript.NativeJavaObject.coerceType(Class, Object)
as of 1.5 Release 4 |
org.mozilla.javascript.Context.compileReader(Scriptable, Reader, String, int, Object)
|
org.mozilla.javascript.Context.compileReader(Scriptable, Reader, String, int, Object)
|
org.mozilla.javascript.NativeGlobal.constructError(Context, String, String, Scriptable)
Use ScriptRuntime.constructError(String,String)
instead. |
org.mozilla.javascript.NativeGlobal.constructError(Context, String, String, Scriptable, String, int, int, String)
Use
ScriptRuntime.constructError(String,String,String,int,String,int)
instead. |
org.mozilla.javascript.ContextListener.contextEntered(Context)
Rhino runtime never calls the method. |
org.mozilla.javascript.ContextListener.contextExited(Context)
Rhino runtime never calls the method. |
org.mozilla.javascript.FunctionObject.convertArg(Context, Scriptable, Object, Class)
Use FunctionObject.getTypeTag(Class)
and FunctionObject.convertArg(Context, Scriptable, Object, int)
for type convertion. |
org.mozilla.javascript.FunctionObject.convertArg(Context, Scriptable, Object, Class)
Use FunctionObject.getTypeTag(Class)
and FunctionObject.convertArg(Context, Scriptable, Object, int)
for type convertion. |
org.mozilla.javascript.Context.enter()
use ContextFactory.enter() or
ContextFactory.call(ContextAction) instead as this method relies
on usage of a static singleton "global" ContextFactory. |
org.mozilla.javascript.ContextFactory.enter()
use ContextFactory.enterContext() instead |
org.mozilla.javascript.Context.enter()
use ContextFactory.enter() or
ContextFactory.call(ContextAction) instead as this method relies
on usage of a static singleton "global" ContextFactory. |
org.mozilla.javascript.ContextFactory.enter()
use ContextFactory.enterContext() instead |
org.mozilla.javascript.Context.enter(Context)
use ContextFactory.enterContext(Context) instead as
this method relies on usage of a static singleton "global" ContextFactory. |
org.mozilla.javascript.Context.enter(Context)
use ContextFactory.enterContext(Context) instead as
this method relies on usage of a static singleton "global" ContextFactory. |
org.mozilla.javascript.SecurityController.execWithDomain(Context, Scriptable, Script, Object)
The application should not override this method and instead
override
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) . |
org.mozilla.javascript.SecurityController.execWithDomain(Context, Scriptable, Script, Object)
The application should not override this method and instead
override
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) . |
org.mozilla.javascript.ContextFactory.exit()
Use Context.exit() instead. |
org.mozilla.javascript.ContextFactory.exit()
Use Context.exit() instead. |
org.mozilla.javascript.ScriptableObject.getAttributes(int, Scriptable)
Use ScriptableObject.getAttributes(int index) . The engine always
ignored the start argument. |
org.mozilla.javascript.ScriptableObject.getAttributes(int, Scriptable)
Use ScriptableObject.getAttributes(int index) . The engine always
ignored the start argument. |
org.mozilla.javascript.ScriptableObject.getAttributes(String, Scriptable)
Use ScriptableObject.getAttributes(String name) . The engine always
ignored the start argument. |
org.mozilla.javascript.ScriptableObject.getAttributes(String, Scriptable)
Use ScriptableObject.getAttributes(String name) . The engine always
ignored the start argument. |
org.mozilla.javascript.EcmaError.getColumnNumber()
Use RhinoException.columnNumber() from the super class. |
org.mozilla.javascript.EvaluatorException.getColumnNumber()
Use RhinoException.columnNumber() from the super class. |
org.mozilla.javascript.EcmaError.getColumnNumber()
Use RhinoException.columnNumber() from the super class. |
org.mozilla.javascript.EvaluatorException.getColumnNumber()
Use RhinoException.columnNumber() from the super class. |
org.mozilla.javascript.EcmaError.getErrorObject()
Always returns null. |
org.mozilla.javascript.EcmaError.getErrorObject()
Always returns null. |
org.mozilla.javascript.EcmaError.getLineNumber()
Use RhinoException.lineNumber() from the super class. |
org.mozilla.javascript.EvaluatorException.getLineNumber()
Use RhinoException.lineNumber() from the super class. |
org.mozilla.javascript.JavaScriptException.getLineNumber()
Use RhinoException.lineNumber() from the super class. |
org.mozilla.javascript.EcmaError.getLineNumber()
Use RhinoException.lineNumber() from the super class. |
org.mozilla.javascript.JavaScriptException.getLineNumber()
Use RhinoException.lineNumber() from the super class. |
org.mozilla.javascript.EvaluatorException.getLineNumber()
Use RhinoException.lineNumber() from the super class. |
org.mozilla.javascript.EcmaError.getLineSource()
Use RhinoException.lineSource() from the super class. |
org.mozilla.javascript.EvaluatorException.getLineSource()
Use RhinoException.lineSource() from the super class. |
org.mozilla.javascript.EcmaError.getLineSource()
Use RhinoException.lineSource() from the super class. |
org.mozilla.javascript.EvaluatorException.getLineSource()
Use RhinoException.lineSource() from the super class. |
org.mozilla.javascript.EcmaError.getSourceName()
Use RhinoException.sourceName() from the super class. |
org.mozilla.javascript.EvaluatorException.getSourceName()
Use RhinoException.sourceName() from the super class. |
org.mozilla.javascript.JavaScriptException.getSourceName()
Use RhinoException.sourceName() from the super class. |
org.mozilla.javascript.EcmaError.getSourceName()
Use RhinoException.sourceName() from the super class. |
org.mozilla.javascript.JavaScriptException.getSourceName()
Use RhinoException.sourceName() from the super class. |
org.mozilla.javascript.EvaluatorException.getSourceName()
Use RhinoException.sourceName() from the super class. |
org.mozilla.javascript.Context.hasCompileFunctionsWithDynamicScope()
|
org.mozilla.javascript.Context.hasCompileFunctionsWithDynamicScope()
|
org.mozilla.javascript.ImporterTopLevel.importPackage(Context, Scriptable, Object[], Function)
Kept only for compatibility. |
org.mozilla.javascript.ImporterTopLevel.importPackage(Context, Scriptable, Object[], Function)
Kept only for compatibility. |
org.mozilla.javascript.ClassCache.isInvokerOptimizationEnabled()
The method always returns false. |
org.mozilla.javascript.ClassCache.isInvokerOptimizationEnabled()
The method always returns false. |
org.mozilla.javascript.NativeArray.jsGet_length()
Use NativeArray.getLength() instead. |
org.mozilla.javascript.NativeFunction.jsGet_name()
Use BaseFunction.getFunctionName() instead.
For backwards compatibility keep an old method name used by
Batik and possibly others. |
org.mozilla.javascript.ScriptRuntime.nameIncrDecr(Scriptable, String, int)
The method is only present for compatibility. |
org.mozilla.javascript.ScriptRuntime.newObjectLiteral(Object[], Object[], Context, Scriptable)
This method only present for compatibility. |
org.mozilla.javascript.Context.removeContextListener(ContextListener)
|
org.mozilla.javascript.Context.removeContextListener(ContextListener)
|
org.mozilla.javascript.ScriptableObject.setAttributes(int, Scriptable, int)
Use ScriptableObject.setAttributes(int index, int attributes) .
The engine always ignored the start argument. |
org.mozilla.javascript.ScriptableObject.setAttributes(int, Scriptable, int)
Use ScriptableObject.setAttributes(int index, int attributes) .
The engine always ignored the start argument. |
org.mozilla.javascript.ScriptableObject.setAttributes(String, Scriptable, int)
Use ScriptableObject.setAttributes(String name, int attributes) .
The engine always ignored the start argument. |
org.mozilla.javascript.ScriptableObject.setAttributes(String, Scriptable, int)
Use ScriptableObject.setAttributes(String name, int attributes) .
The engine always ignored the start argument. |
org.mozilla.javascript.Context.setCachingEnabled(boolean)
|
org.mozilla.javascript.Context.setCachingEnabled(boolean)
|
org.mozilla.javascript.Context.setCompileFunctionsWithDynamicScope(boolean)
|
org.mozilla.javascript.Context.setCompileFunctionsWithDynamicScope(boolean)
|
org.mozilla.javascript.ClassCache.setInvokerOptimizationEnabled(boolean)
The method does nothing.
Invoker optimization is no longer used by Rhino.
On modern JDK like 1.4 or 1.5 the disadvantages of the optimization
like increased memory usage or longer initialization time overweight
small speed increase that can be gained using generated proxy class
to replace reflection. |
org.mozilla.javascript.ClassCache.setInvokerOptimizationEnabled(boolean)
The method does nothing.
Invoker optimization is no longer used by Rhino.
On modern JDK like 1.4 or 1.5 the disadvantages of the optimization
like increased memory usage or longer initialization time overweight
small speed increase that can be gained using generated proxy class
to replace reflection. |
org.mozilla.javascript.ScriptRuntime.toObject(Context, Scriptable, Object, Class)
Use ScriptRuntime.toObject(Context, Scriptable, Object) instead. |
org.mozilla.javascript.Context.toObject(Object, Scriptable, Class)
|
org.mozilla.javascript.Context.toObject(Object, Scriptable, Class)
|
org.mozilla.javascript.ScriptRuntime.toObject(Scriptable, Object, Class)
Use ScriptRuntime.toObject(Scriptable, Object) instead. |
org.mozilla.javascript.Context.toType(Object, Class)
|
org.mozilla.javascript.Context.toType(Object, Class)
|
org.mozilla.javascript.WrappedException.unwrap()
Use WrappedException.getWrappedException() instead. |
org.mozilla.javascript.WrappedException.unwrap()
Use WrappedException.getWrappedException() instead. |
org.mozilla.javascript.NativeJavaObject.wrap(Scriptable, Object, Class)
Use Context.getWrapFactory() together with calling WrapFactory.wrap(Context, Scriptable, Object, Class) |