A C D E F G H I J L N P R S T U V W

A

addActivationName(String) - Method in class org.mozilla.javascript.Context
Add a name to the list of names forcing the creation of real activation objects for functions.
addAsConstructor(Scriptable, Scriptable) - Method in class org.mozilla.javascript.FunctionObject
Define this function as a JavaScript constructor.
addContextListener(ContextListener) - Static method in class org.mozilla.javascript.Context
Add a Context listener.
addExcludedName(String) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
Adds a qualified name to the list of object to be excluded from serialization.
addPropertyChangeListener(PropertyChangeListener) - Method in class org.mozilla.javascript.Context
Register an object to receive notifications when a bound property has changed

C

call(Context, Scriptable, Scriptable, Object[]) - Method in interface org.mozilla.javascript.Function
Call the function.
call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.FunctionObject
Performs conversions on argument types if needed and invokes the underlying Java method or constructor.
call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.Synchronizer
 
callMethod(Scriptable, String, Object[]) - Static method in class org.mozilla.javascript.ScriptableObject
Call a method of an object.
ClassDefinitionException - exception org.mozilla.javascript.ClassDefinitionException.
Thrown if errors are detected while attempting to define a host object from a Java class.
ClassDefinitionException(String) - Constructor for class org.mozilla.javascript.ClassDefinitionException
 
ClassOutput - interface org.mozilla.javascript.ClassOutput.
Deprecated. To store generated bytecode implement ClassRepository instead.
ClassShutter - interface org.mozilla.javascript.ClassShutter.
Embeddings that wish to filter Java classes that are visible to scripts through the LiveConnect, should implement this interface.
compileFunction(Scriptable, String, String, int, Object) - Method in class org.mozilla.javascript.Context
Compile a JavaScript function.
compileReader(Scriptable, Reader, String, int, Object) - Method in class org.mozilla.javascript.Context
Compiles the source in the given reader.
construct(Context, Scriptable, Object[]) - Method in interface org.mozilla.javascript.Function
Call the function as a constructor.
construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.FunctionObject
Performs conversions on argument types if needed and invokes the underlying Java method or constructor to create a new Scriptable object.
Context - class org.mozilla.javascript.Context.
This class represents the runtime context of an executing script.
Context() - Constructor for class org.mozilla.javascript.Context
Create a new Context.
Context(SecuritySupport) - Constructor for class org.mozilla.javascript.Context
Deprecated. The SecuritySupport class is deprecated. See its documentation for the upgrade path.
contextCreated(Context) - Method in interface org.mozilla.javascript.ContextListener
 
contextEntered(Context) - Method in interface org.mozilla.javascript.ContextListener
 
contextExited(Context) - Method in interface org.mozilla.javascript.ContextListener
 
ContextListener - interface org.mozilla.javascript.ContextListener.
Embeddings that wish to
contextReleased(Context) - Method in interface org.mozilla.javascript.ContextListener
 
convertArg(Context, Scriptable, Object, Class) - Static method in class org.mozilla.javascript.FunctionObject
 
createClassLoader(ClassLoader) - Method in class org.mozilla.javascript.Context
 
createClassLoader(ClassLoader, Object) - Method in class org.mozilla.javascript.SecurityController
Get class loader-like object that can be used to define classes with the given security context.

D

decompileFunction(Function, int) - Method in class org.mozilla.javascript.Context
Decompile a JavaScript Function.
decompileFunctionBody(Function, int) - Method in class org.mozilla.javascript.Context
Decompile the body of a JavaScript Function.
decompileScript(Script, Scriptable, int) - Method in class org.mozilla.javascript.Context
Decompile the script.
defineClass(Scriptable, Class) - Static method in class org.mozilla.javascript.ScriptableObject
Defines JavaScript objects from a Java class that implements Scriptable.
defineClass(Scriptable, Class, boolean) - Static method in class org.mozilla.javascript.ScriptableObject
Defines JavaScript objects from a Java class, optionally allowing sealing.
defineFunctionProperties(String[], Class, int) - Method in class org.mozilla.javascript.ScriptableObject
Search for names in a class, adding the resulting methods as properties.
defineProperty(Scriptable, String, Object, int) - Static method in class org.mozilla.javascript.ScriptableObject
Utility method to add properties to arbitrary Scriptable object.
defineProperty(String, Class, int) - Method in class org.mozilla.javascript.ScriptableObject
Define a JavaScript property with getter and setter side effects.
defineProperty(String, Object, int) - Method in class org.mozilla.javascript.ScriptableObject
Define a JavaScript property.
defineProperty(String, Object, Method, Method, int) - Method in class org.mozilla.javascript.ScriptableObject
Define a JavaScript property.
delete(int) - Method in interface org.mozilla.javascript.Scriptable
Removes a property from this object.
delete(int) - Method in class org.mozilla.javascript.ScriptableObject
Removes the indexed property from the object.
delete(String) - Method in interface org.mozilla.javascript.Scriptable
Removes a property from this object.
delete(String) - Method in class org.mozilla.javascript.ScriptableObject
Removes a named property from the object.
deleteProperty(Scriptable, int) - Static method in class org.mozilla.javascript.ScriptableObject
Removes the property from an object or its prototype chain.
deleteProperty(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptableObject
Removes the property from an object or its prototype chain.
DONTENUM - Static variable in class org.mozilla.javascript.ScriptableObject
Property attribute indicating property is not enumerated.

E

EcmaError - exception org.mozilla.javascript.EcmaError.
The class of exceptions raised by the engine as described in ECMA edition 3.
EcmaError(NativeError, String, int, int, String) - Constructor for class org.mozilla.javascript.EcmaError
Create an exception with the specified detail message.
EMPTY - Static variable in class org.mozilla.javascript.ScriptableObject
The empty property attribute.
enter() - Static method in class org.mozilla.javascript.Context
Get a context associated with the current thread, creating one if need be.
enter(Context) - Static method in class org.mozilla.javascript.Context
Get a Context associated with the current thread, using the given Context if need be.
error(String, String, int, String, int) - Method in interface org.mozilla.javascript.ErrorReporter
Report an error.
ErrorReporter - interface org.mozilla.javascript.ErrorReporter.
This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
errorReporterProperty - Static variable in class org.mozilla.javascript.Context
 
evaluateReader(Scriptable, Reader, String, int, Object) - Method in class org.mozilla.javascript.Context
Evaluate a reader as JavaScript source.
evaluateString(Scriptable, String, String, int, Object) - Method in class org.mozilla.javascript.Context
Evaluate a JavaScript source string.
excludeStandardObjectNames() - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
Adds the names of the standard objects and their prototypes to the list of excluded names.
exec(Context, Scriptable) - Method in interface org.mozilla.javascript.Script
Execute the script.
execWithDomain(Context, Scriptable, Script, Object) - Method in class org.mozilla.javascript.SecurityController
Call Script.exec(Context cx, Scriptable scope) of script 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.
exit() - Static method in class org.mozilla.javascript.Context
Exit a block of code requiring a Context.

F

FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME - Static variable in class org.mozilla.javascript.Context
if hasFeature(FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME) returns true, allow 'function (...) { ...
FEATURE_NON_ECMA_GET_YEAR - Static variable in class org.mozilla.javascript.Context
if hasFeature(FEATURE_NON_ECMA_GET_YEAR) returns true, Date.prototype.getYear subtructs 1900 only if 1900 <= date < 2000 in deviation with Ecma B.2.4
FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER - Static variable in class org.mozilla.javascript.Context
if hasFeature(RESERVED_KEYWORD_AS_IDENTIFIER) returns true, treat future reserved keyword (see Ecma-262, section 7.5.3) as ordinary identifiers but warn about this usage
FEATURE_TO_STRING_AS_SOURCE - Static variable in class org.mozilla.javascript.Context
if hasFeature(FEATURE_TO_STRING_AS_SOURCE) returns true, calling toString on JS objects gives JS source with code to create an object with all enumeratable fields of the original object instead of printing "[object ]".
findMethods(Class, String) - Static method in class org.mozilla.javascript.FunctionObject
Finds methods of a given name in a given class.
Function - interface org.mozilla.javascript.Function.
This is interface that all functions in JavaScript must implement.
FunctionObject - class org.mozilla.javascript.FunctionObject.
 
FunctionObject(String, Member, Scriptable) - Constructor for class org.mozilla.javascript.FunctionObject
Create a JavaScript function object from a Java method.

G

get(int, Scriptable) - Method in interface org.mozilla.javascript.Scriptable
Get a property from the object selected by an integral index.
get(int, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Returns the value of the indexed property or NOT_FOUND.
get(String, Scriptable) - Method in class org.mozilla.javascript.ImporterTopLevel
 
get(String, Scriptable) - Method in interface org.mozilla.javascript.Scriptable
Get a named property from the object.
get(String, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Returns the value of the named property or NOT_FOUND.
getAllIds() - Method in class org.mozilla.javascript.ScriptableObject
Returns an array of ids for the properties of the object.
getArity() - Method in class org.mozilla.javascript.FunctionObject
Return the value defined by the method used to construct the object (number of parameters of the method, or 1 if the method is a "varargs" form).
getAttributes(int, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Get the attributes of an indexed property.
getAttributes(String, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Get the attributes of a named property.
getClassName() - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).getClassName() instead.
getClassName() - Method in class org.mozilla.javascript.ImporterTopLevel
 
getClassName() - Method in interface org.mozilla.javascript.Scriptable
Get the name of the set of objects implemented by this Java class.
getClassName() - Method in class org.mozilla.javascript.ScriptableObject
Return the name of the class.
getClassOutput() - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).getClassOutput() instead.
getClassPrototype(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptableObject
Get the prototype for the named class.
getClassRepository() - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).getClassRepository() instead.
getColumnNumber() - Method in class org.mozilla.javascript.EcmaError
The column number of the location of the error, or zero if unknown.
getCurrentContext() - Static method in class org.mozilla.javascript.Context
Get the current Context.
getDebugger() - Method in class org.mozilla.javascript.Context
Return the current debugger.
getDebuggerContextData() - Method in class org.mozilla.javascript.Context
Return the debugger context data associated with current context.
getDefaultValue(Class) - Method in interface org.mozilla.javascript.Scriptable
Get the default value of the object with a given hint.
getDefaultValue(Class) - Method in class org.mozilla.javascript.ScriptableObject
Implements the [[DefaultValue]] internal method.
getDynamicSecurityDomain(Object) - Method in class org.mozilla.javascript.SecurityController
Get dynamic security domain that allows an action only if it is allowed by the current Java stack and securityDomain.
getElements(Scriptable) - Method in class org.mozilla.javascript.Context
Get the elements of a JavaScript array.
getErrorObject() - Method in class org.mozilla.javascript.EcmaError
Get the error object corresponding to this exception.
getErrorReporter() - Method in class org.mozilla.javascript.Context
Get the current error reporter.
getFunctionPrototype(Scriptable) - Static method in class org.mozilla.javascript.ScriptableObject
Get the Function.prototype property.
getIds() - Method in interface org.mozilla.javascript.Scriptable
Get an array of property ids.
getIds() - Method in class org.mozilla.javascript.ScriptableObject
Returns an array of ids for the properties of the object.
getImplementationVersion() - Method in class org.mozilla.javascript.Context
Get the implementation version.
getInstructionObserverThreshold() - Method in class org.mozilla.javascript.Context
Get/Set threshold of executed instructions counter that triggers call to observeInstructionCount().
getLanguageVersion() - Method in class org.mozilla.javascript.Context
Get the current language version.
getLength() - Method in class org.mozilla.javascript.FunctionObject
Return the same value as FunctionObject.getArity().
getLineNumber() - Method in class org.mozilla.javascript.EcmaError
Returns the line number of the statement causing the error, or zero if not available.
getLineSource() - Method in class org.mozilla.javascript.EcmaError
The source of the line causing the error, or zero if unknown.
getLocale() - Method in class org.mozilla.javascript.Context
Get the current locale.
getMessage() - Method in class org.mozilla.javascript.EcmaError
Gets the message corresponding to the error.
getName() - Method in class 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.Context
Get the current optimization level.
getOutputStream(String, boolean) - Method in interface org.mozilla.javascript.ClassOutput
Deprecated.  
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, int) - Static method in class org.mozilla.javascript.ScriptableObject
Gets an indexed property from an object or any object in its prototype chain.
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.
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 class org.mozilla.javascript.EcmaError
Get the name of the source containing the error, or null if that information is not available.
getTargetClassFileName() - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).getTargetClassFileName() instead.
getTargetPackage() - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).getTargetPackage() instead.
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.
getUndefinedValue() - Static method in class org.mozilla.javascript.Context
Get the singleton object that represents the JavaScript Undefined value.
getValue() - Method in class org.mozilla.javascript.JavaScriptException
Get the exception value originally thrown.
getWrapFactory() - Method in class org.mozilla.javascript.Context
Return the current WrapHandler, or null if none is defined.
getWrapHandler() - Method in class org.mozilla.javascript.Context
Deprecated. As of Rhino 1.5 Release 4, use WrapFactory and Context.getWrapFactory()

H

has(int, Scriptable) - Method in interface org.mozilla.javascript.Scriptable
Indicates whether or not an indexed property is defined in an object.
has(int, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Returns true if the property index is defined.
has(String, Scriptable) - Method in interface org.mozilla.javascript.Scriptable
Indicates whether or not a named property is defined in an object.
has(String, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Returns true if the named property is defined.
hasCompileFunctionsWithDynamicScope() - Method in class org.mozilla.javascript.Context
Return whether functions are compiled by this context using dynamic scope.
hasExcludedName(String) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
Returns true if the name is excluded from serialization.
hasFeature(int) - Method in class org.mozilla.javascript.Context
Controls certain aspects of script semantics.
hasInstance(Scriptable) - Method in interface org.mozilla.javascript.Scriptable
The instanceof operator.
hasInstance(Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Implements the instanceof operator.
hasProperty(Scriptable, int) - Static method in class org.mozilla.javascript.ScriptableObject
Returns whether an indexed property is defined in an object or any object in its prototype chain.
hasProperty(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptableObject
Returns whether a named property is defined in an object or any object in its prototype chain.

I

importClass(Context, Scriptable, Object[], Function) - Static method in class org.mozilla.javascript.ImporterTopLevel
 
ImporterTopLevel - class org.mozilla.javascript.ImporterTopLevel.
Class ImporterTopLevel This class defines a ScriptableObject that can be instantiated as a top-level ("global") object to provide functionality similar to Java's "import" statement.
ImporterTopLevel() - Constructor for class org.mozilla.javascript.ImporterTopLevel
Deprecated.  
ImporterTopLevel(Context) - Constructor for class org.mozilla.javascript.ImporterTopLevel
 
importPackage(Context, Scriptable, Object[], Function) - Static method in class org.mozilla.javascript.ImporterTopLevel
 
initStandardObjects(ScriptableObject) - Method in class org.mozilla.javascript.Context
Initialize the standard objects.
initStandardObjects(ScriptableObject, boolean) - Method in class org.mozilla.javascript.Context
Initialize the standard objects.
isActivationNeeded(String) - Method in class org.mozilla.javascript.Context
Check whether the name is in the list of names of objects forcing the creation of activation objects.
isGeneratingDebug() - Method in class org.mozilla.javascript.Context
Tell whether debug information is being generated.
isGeneratingDebugChanged() - Method in class org.mozilla.javascript.Context
 
isGeneratingSource() - Method in class org.mozilla.javascript.Context
Tell whether source information is being generated.
isJavaPrimitiveWrap() - Method in class org.mozilla.javascript.WrapFactory
Return false if result of Java method, which is instance of String, Number, Boolean and Character, should be used directly as JavaScript primitive type.
isSealed() - Method in class org.mozilla.javascript.ScriptableObject
Return true if this object is sealed.

J

JavaScriptException - exception org.mozilla.javascript.JavaScriptException.
Java reflection of JavaScript exceptions.
JavaScriptException(Object) - Constructor for class org.mozilla.javascript.JavaScriptException
Create a JavaScript exception wrapping the given JavaScript value.

L

languageVersionProperty - Static variable in class org.mozilla.javascript.Context
 

N

newArray(Scriptable, int) - Method in class org.mozilla.javascript.Context
Create an array with a specified initial length.
newArray(Scriptable, Object[]) - Method in class org.mozilla.javascript.Context
Create an array with a set of initial elements.
newObject(Scriptable) - Method in class org.mozilla.javascript.Context
Create a new JavaScript object.
newObject(Scriptable, String) - Method in class org.mozilla.javascript.Context
Create a new JavaScript object by executing the named constructor.
newObject(Scriptable, String, Object[]) - Method in class org.mozilla.javascript.Context
Creates a new JavaScript object by executing the named constructor.
NOT_FOUND - Static variable in interface org.mozilla.javascript.Scriptable
Value returned from get if the property is not found.
NotAFunctionException - exception org.mozilla.javascript.NotAFunctionException.
Thrown if call is attempted on an object that is not a function.
NotAFunctionException() - Constructor for class org.mozilla.javascript.NotAFunctionException
 
NotAFunctionException(String) - Constructor for class org.mozilla.javascript.NotAFunctionException
 

P

PERMANENT - Static variable in class org.mozilla.javascript.ScriptableObject
Property attribute indicating property cannot be deleted.
PropertyException - exception org.mozilla.javascript.PropertyException.
Thrown if errors are detected while attempting to define a property of a host object from a Java class or method, or if a property is not found.
PropertyException(String) - Constructor for class org.mozilla.javascript.PropertyException
 
put(int, Scriptable, Object) - Method in interface org.mozilla.javascript.Scriptable
Sets an indexed property in this object.
put(int, Scriptable, Object) - Method in class org.mozilla.javascript.ScriptableObject
Sets the value of the indexed property, creating it if need be.
put(String, Scriptable, Object) - Method in interface org.mozilla.javascript.Scriptable
Sets a named property in this object.
put(String, Scriptable, Object) - Method in class org.mozilla.javascript.ScriptableObject
Sets the value of the named property, creating it if need be.
putProperty(Scriptable, int, Object) - Static method in class org.mozilla.javascript.ScriptableObject
Puts an indexed property in an object or in an object in its prototype chain.
putProperty(Scriptable, String, Object) - Static method in class org.mozilla.javascript.ScriptableObject
Puts a named property in an object or in an object in its prototype chain.
putThreadLocal(Object, Object) - Method in class org.mozilla.javascript.Context
Put a value that can later be retrieved using a given key.

R

READONLY - Static variable in class org.mozilla.javascript.ScriptableObject
Property attribute indicating assignment to this property is ignored.
removeActivationName(String) - Method in class org.mozilla.javascript.Context
Remove a name from the list of names forcing the creation of real activation objects for functions.
removeContextListener(ContextListener) - Static method in class org.mozilla.javascript.Context
Remove a Context listener.
removeExcludedName(String) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
Removes a name from the list of names to exclude.
removePropertyChangeListener(PropertyChangeListener) - Method in class org.mozilla.javascript.Context
Remove an object from the list of objects registered to receive notification of changes to a bounded property
removeThreadLocal(Object) - Method in class org.mozilla.javascript.Context
Remove values from thread-local storage.
reportError(String) - Static method in class org.mozilla.javascript.Context
Report an error using the error reporter for the current thread.
reportError(String, String, int, String, int) - Static method in class org.mozilla.javascript.Context
Report an error using the error reporter for the current thread.
reportRuntimeError(String) - Static method in class org.mozilla.javascript.Context
Report a runtime error using the error reporter for the current thread.
reportRuntimeError(String, String, int, String, int) - Static method in class org.mozilla.javascript.Context
Report a runtime error using the error reporter for the current thread.
reportWarning(String) - Static method in class org.mozilla.javascript.Context
Report a warning using the error reporter for the current thread.
reportWarning(String, String, int, String, int) - Static method in class org.mozilla.javascript.Context
Report a warning using the error reporter for the current thread.
runtimeError(String, String, int, String, int) - Method in interface org.mozilla.javascript.ErrorReporter
Creates an EvaluatorException that may be thrown.

S

Script - interface org.mozilla.javascript.Script.
All compiled scripts implement this interface.
Scriptable - interface org.mozilla.javascript.Scriptable.
This is interface that all objects in JavaScript must implement.
ScriptableInputStream - class org.mozilla.javascript.serialize.ScriptableInputStream.
Class ScriptableInputStream is used to read in a JavaScript object or function previously serialized with a ScriptableOutputStream.
ScriptableInputStream(InputStream, Scriptable) - Constructor for class org.mozilla.javascript.serialize.ScriptableInputStream
Create a ScriptableInputStream.
ScriptableObject - class org.mozilla.javascript.ScriptableObject.
This is the default implementation of the Scriptable interface.
ScriptableObject() - Constructor for class org.mozilla.javascript.ScriptableObject
 
ScriptableOutputStream - class org.mozilla.javascript.serialize.ScriptableOutputStream.
Class ScriptableOutputStream is an ObjectOutputStream used to serialize JavaScript objects and functions.
ScriptableOutputStream(OutputStream, Scriptable) - Constructor for class org.mozilla.javascript.serialize.ScriptableOutputStream
ScriptableOutputStream constructor.
sealObject() - Method in class org.mozilla.javascript.ScriptableObject
Seal this object.
SecurityController - class org.mozilla.javascript.SecurityController.
This class describes the support needed to implement security.
SecurityController() - Constructor for class org.mozilla.javascript.SecurityController
 
SecuritySupport - interface org.mozilla.javascript.SecuritySupport.
Deprecated. Since Rhino 1.5 R4 this interface is split into ClassShutter interface with the single ClassShutter.visibleToScripts(String fullClassName) method and the abstract SecurityController class to implement domain-based security restrictions.

For binary compatibility with older code implementing SecuritySupport only to restrict class access via the visibleToScripts method, this interface extends ClassShutter, so to upgrade you code in this case simply replace SecuritySupport by ClassShutter and remove empty implementation of the defineClass, getClassContext and getSecurityDomain methods. Then call Context.setClassShutter(ClassShutter) in place ofContext.setSecuritySupport(SecuritySupport).

The new SecurityController is incompatible with the old security implementation, so if you previously had non-trivial implementation of the defineClass, getClassContext and getSecurityDomain methods, you need to upgrade you code to use the new SecurityController.

setAttributes(int, Scriptable, int) - Method in class org.mozilla.javascript.ScriptableObject
Set the attributes of an indexed property.
setAttributes(String, Scriptable, int) - Method in class org.mozilla.javascript.ScriptableObject
Set the attributes of a named property.
setCachingEnabled(boolean) - Static method in class org.mozilla.javascript.Context
Set whether to cache some values statically.
setClassName(String) - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).setClassName(className) instead.
setClassOutput(ClassOutput) - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).setClassOutput(classOutput) instead.
setClassRepository(ClassRepository) - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).setClassRepository(classRepository) instead.
setClassShutter(ClassShutter) - Method in class org.mozilla.javascript.Context
Set the LiveConnect access filter for this context.
setCompileFunctionsWithDynamicScope(boolean) - Method in class org.mozilla.javascript.Context
Set whether functions compiled by this context should use dynamic scope.
setDebugger(Debugger, Object) - Method in class org.mozilla.javascript.Context
Set the associated debugger.
setErrorReporter(ErrorReporter) - Method in class org.mozilla.javascript.Context
Change the current error reporter.
setGeneratingDebug(boolean) - Method in class org.mozilla.javascript.Context
Specify whether or not debug information should be generated.
setGeneratingSource(boolean) - Method in class org.mozilla.javascript.Context
Specify whether or not source information should be generated.
setInstructionObserverThreshold(int) - Method in class org.mozilla.javascript.Context
 
setJavaPrimitiveWrap(boolean) - Method in class org.mozilla.javascript.WrapFactory
 
setLanguageVersion(int) - Method in class org.mozilla.javascript.Context
Set the language version.
setLocale(Locale) - Method in class org.mozilla.javascript.Context
Set the current locale.
setOptimizationLevel(int) - Method in class org.mozilla.javascript.Context
Set the current optimization level.
setParentScope(Scriptable) - Method in interface org.mozilla.javascript.Scriptable
Set the parent scope of the object.
setParentScope(Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Sets the parent (enclosing) scope of the object.
setPrototype(Scriptable) - Method in interface org.mozilla.javascript.Scriptable
Set the prototype of the object.
setPrototype(Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
Sets the prototype of the object.
setSecurityController(SecurityController) - Method in class org.mozilla.javascript.Context
Set the security controller for this context.
setSecuritySupport(SecuritySupport) - Method in class org.mozilla.javascript.Context
Deprecated. The SecuritySupport class is deprecated. See its documentation for the upgrade path.
setTargetClassFileName(String) - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).setTargetClassFileName(classFileName) instead.
setTargetExtends(Class) - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).setTargetExtends(extendsClass) instead.
setTargetImplements(Class[]) - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).setTargetImplements(implementsClasses) instead.
setTargetPackage(String) - Method in class org.mozilla.javascript.Context
Deprecated. Use ClassNameHelper.get(cx).setTargetPackage(targetPackage) instead.
setWrapFactory(WrapFactory) - Method in class org.mozilla.javascript.Context
Set a WrapFactory for this Context.
setWrapHandler(WrapHandler) - Method in class org.mozilla.javascript.Context
Deprecated. As of Rhino 1.5 Release 4, use WrapFactory and Context.setWrapFactory(WrapFactory)
stringIsCompilableUnit(String) - Method in class org.mozilla.javascript.Context
Check whether a string is ready to be compiled.
Synchronizer - class org.mozilla.javascript.Synchronizer.
This class provides support for implementing Java-style synchronized methods in Javascript.
Synchronizer(Scriptable) - Constructor for class org.mozilla.javascript.Synchronizer
Create a new synchronized function from an existing one.

T

toBoolean(Object) - Static method in class org.mozilla.javascript.Context
Convert the value to a JavaScript boolean value.
toNumber(Object) - Static method in class org.mozilla.javascript.Context
Convert the value to a JavaScript Number value.
toObject(Object, Scriptable) - Static method in class org.mozilla.javascript.Context
Convert the value to an JavaScript object value.
toObject(Object, Scriptable, Class) - Static method in class org.mozilla.javascript.Context
Convert the value to an JavaScript object value.
toString() - Method in class org.mozilla.javascript.EcmaError
Return a string representation of the error, which currently consists of the name of the error together with the message.
toString(Object) - Static method in class org.mozilla.javascript.Context
Convert the value to a JavaScript String value.
toType(Object, Class) - Static method in class org.mozilla.javascript.Context
Convert a JavaScript value into the desired type.

U

unwrap() - Method in interface org.mozilla.javascript.Wrapper
Unwrap the object by returning the wrapped value.

V

VERSION_1_0 - Static variable in class org.mozilla.javascript.Context
JavaScript 1.0
VERSION_1_1 - Static variable in class org.mozilla.javascript.Context
JavaScript 1.1
VERSION_1_2 - Static variable in class org.mozilla.javascript.Context
JavaScript 1.2
VERSION_1_3 - Static variable in class org.mozilla.javascript.Context
JavaScript 1.3
VERSION_1_4 - Static variable in class org.mozilla.javascript.Context
JavaScript 1.4
VERSION_1_5 - Static variable in class org.mozilla.javascript.Context
JavaScript 1.5
VERSION_DEFAULT - Static variable in class org.mozilla.javascript.Context
The default version.
VERSION_UNKNOWN - Static variable in class org.mozilla.javascript.Context
The unknown version.
visibleToScripts(String) - Method in interface org.mozilla.javascript.ClassShutter
Return true iff the Java class with the given name should be exposed to scripts.
visibleToScripts(String) - Method in interface org.mozilla.javascript.SecuritySupport
Deprecated.  

W

warning(String, String, int, String, int) - Method in interface org.mozilla.javascript.ErrorReporter
Report a warning.
wrap(Context, Scriptable, Object, Class) - Method in class org.mozilla.javascript.WrapFactory
Wrap the object.
wrap(Scriptable, Object, Class) - Method in interface org.mozilla.javascript.WrapHandler
Deprecated.  
WrapFactory - class org.mozilla.javascript.WrapFactory.
Embeddings that wish to provide their own custom wrappings for Java objects may extend this class and call 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.
WrapFactory() - Constructor for class org.mozilla.javascript.WrapFactory
 
WrapHandler - interface org.mozilla.javascript.WrapHandler.
Deprecated. As of Rhino 1.5 Release 4, use WrapFactory. Note that when extending WrapFactory you should call super.wrap(...) instead of returning null to get default behavior. You should also take into account that WrapFactory.wrap(Context cx, Scriptable scope, Object obj, Class cls) can be called when obj == null
wrapNewObject(Context, Scriptable, Object) - Method in class org.mozilla.javascript.WrapFactory
Wrap an object newly created by a constructor call.
Wrapper - interface org.mozilla.javascript.Wrapper.
Objects that can wrap other values for reflection in the JS environment will implement Wrapper.

A C D E F G H I J L N P R S T U V W