Alphabetical Index

A C D E F G H I J L M N O 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.
Define this function as a JavaScript constructor.
addContextListener(org.mozilla.javascript.ContextListener) - static method in class org.mozilla.javascript.Context
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
associate(org.mozilla.javascript.ScriptableObject) - method in class org.mozilla.javascript.ClassCache
Associate ClassCache object with the given top-level scope.
associateValue(Object,Object) - method in class org.mozilla.javascript.ScriptableObject
Associate arbitrary application-specific value with this object.

C

Perform the call.
Call the function.
Performs conversions on argument types if needed and invokes the underlying Java method or constructor.
call(org.mozilla.javascript.ContextAction) - static method in class org.mozilla.javascript.Context
Call ContextAction.run(Context cx) using the Context instance associated with the current thread.
call(org.mozilla.javascript.ContextAction) - method in class org.mozilla.javascript.ContextFactory
Call ContextAction.run(Context cx) using the Context instance associated with the current thread.
Call Callable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) using the Context instance associated with the current thread.
Callable - interface org.mozilla.javascript.Callable
Generic notion of callable object that can execute some script-related code upon request with specified values for script scope and this objects.
Call a method of an object.
Call a method of an object.
Call 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.
checkLanguageVersion(int) - static method in class org.mozilla.javascript.Context
checkNotSealed() - method in class org.mozilla.javascript.ContextFactory
checkOptimizationLevel(int) - static method in class org.mozilla.javascript.Context
ClassCache - class org.mozilla.javascript.ClassCache
Cache of generated classes and data structures to access Java runtime from JavaScript.
ClassCompiler - class org.mozilla.javascript.optimizer.ClassCompiler
Generates class files from script sources.
ClassCompiler(org.mozilla.javascript.CompilerEnvirons) - constructor for class org.mozilla.javascript.optimizer.ClassCompiler
Construct ClassCompiler that uses the specified compiler environment when generating classes.
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.
clearCaches() - method in class org.mozilla.javascript.ClassCache
Empty caches of generated Java classes and Java reflection information.
columnNumber() - method in class org.mozilla.javascript.RhinoException
The column number of the location of the error, or zero if unknown.
Compile a JavaScript function.
compileReader(Reader,String,int,Object) - method in class org.mozilla.javascript.Context
Compiles the source in the given reader.
CompilerEnvirons - class org.mozilla.javascript.CompilerEnvirons
CompilerEnvirons() - constructor for class org.mozilla.javascript.CompilerEnvirons
compileString(String,String,int,Object) - method in class org.mozilla.javascript.Context
Compiles the source in the given string.
compileToClassFiles(String,String,int,String) - method in class org.mozilla.javascript.optimizer.ClassCompiler
Compile JavaScript source into one or more Java class files.
compressScript(org.mozilla.javascript.Script,int) - method in class org.mozilla.javascript.Context
Call the function as a constructor.
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.
ContextAction - interface org.mozilla.javascript.ContextAction
Interface to represent arbitrary action that requires to have Context object associated with the current thread for its execution.
ContextFactory - class org.mozilla.javascript.ContextFactory
Factory class that Rhino runtime use to create new Context instances or to notify about Context execution.
createClassLoader(ClassLoader) - method in class org.mozilla.javascript.Context
Create class loader for generated classes.
createClassLoader(ClassLoader) - method in class org.mozilla.javascript.ContextFactory
Create class loader for generated classes.
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.
createLoader(ClassLoader,Object) - static method in class org.mozilla.javascript.SecurityController
Create GeneratedClassLoader with restrictions imposed by staticDomain and all current stack frames.
Return new Scriptable instance using the default constructor for the class of the underlying Java method.

D

DebuggableScript - interface org.mozilla.javascript.debug.DebuggableScript
This interface exposes debugging information from executable code (either functions or top-level scripts).
decompileFunction(org.mozilla.javascript.Function,int) - method in class org.mozilla.javascript.Context
Decompile a JavaScript Function.
Decompile the body of a JavaScript Function.
decompileScript(org.mozilla.javascript.Script,int) - method in class org.mozilla.javascript.Context
Decompile the script.
defineClass(org.mozilla.javascript.Scriptable,Class) - static method in class org.mozilla.javascript.ScriptableObject
Defines JavaScript objects from a Java class that implements Scriptable.
Defines JavaScript objects from a Java class, optionally allowing sealing.
Defines JavaScript objects from a Java class, optionally allowing sealing and mapping of Java inheritance to JavaScript prototype-based inheritance.
defineClass(String,byte[]) - method in class org.mozilla.javascript.GeneratedClassLoader
Define a new Java class.
defineFunctionProperties(String[],Class,int) - method in class org.mozilla.javascript.ScriptableObject
Search for names in a class, adding the resulting methods as properties.
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 class 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 class 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(org.mozilla.javascript.Scriptable,int) - static method in class org.mozilla.javascript.ScriptableObject
Removes the property from an object or its prototype chain.
deleteProperty(org.mozilla.javascript.Scriptable,String) - static method in class org.mozilla.javascript.ScriptableObject
Removes the property from an object or its prototype chain.
details() - method in class org.mozilla.javascript.EcmaError
details() - method in class org.mozilla.javascript.JavaScriptException
details() - method in class org.mozilla.javascript.RhinoException
DONTENUM - static field in class org.mozilla.javascript.ScriptableObject
Property attribute indicating property is not enumerated.
Execute top call to script or function.

E

EcmaError - class org.mozilla.javascript.EcmaError
The class of exceptions raised by the engine as described in ECMA edition 3.
EMPTY - static field in class org.mozilla.javascript.ScriptableObject
The empty property attribute.
emptyArgs - static field in class org.mozilla.javascript.Context
Convinient value to use as zero-length array of objects.
enter() - static method in class org.mozilla.javascript.Context
Get a context associated with the current thread, creating one if need be.
enter(org.mozilla.javascript.Context) - static method in class org.mozilla.javascript.Context
Get a Context associated with the current thread, using the given Context if need be.
equivalentValues(Object) - method in class org.mozilla.javascript.ScriptableObject
Custom == operator.
error(String,String,int,String,int) - method in class 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 field in class org.mozilla.javascript.Context
Evaluate a reader as JavaScript source.
Evaluate a JavaScript source string.
EvaluatorException - class org.mozilla.javascript.EvaluatorException
The class of exceptions thrown by the JavaScript engine.
EvaluatorException(String) - constructor for class org.mozilla.javascript.EvaluatorException
EvaluatorException(String,String,int) - constructor for class org.mozilla.javascript.EvaluatorException
Create an exception with the specified detail message.
EvaluatorException(String,String,int,String,int) - constructor for class org.mozilla.javascript.EvaluatorException
Create an exception with the specified detail message.
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.
Execute the script.
exit() - static method in class org.mozilla.javascript.Context
Exit a block of code requiring a Context.

F

FEATURE_DYNAMIC_SCOPE - static field in class org.mozilla.javascript.Context
Control if dynamic scope should be used for name access.
FEATURE_E4X - static field in class org.mozilla.javascript.Context
Control if support for E4X(ECMAScript for XML) extension is available.
FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME - static field in class org.mozilla.javascript.Context
Control if member expression as function name extension is available.
FEATURE_NON_ECMA_GET_YEAR - static field in class org.mozilla.javascript.Context
Controls behaviour of Date.prototype.getYear().
FEATURE_PARENT_PROTO_PROPRTIES - static field in class org.mozilla.javascript.Context
Control if properties __proto__ and __parent__ are treated specially.
FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER - static field in class org.mozilla.javascript.Context
Control if reserved keywords are treated as identifiers.
FEATURE_STRICT_EVAL - static field in class org.mozilla.javascript.Context
Control if strict eval mode is enabled.
FEATURE_STRICT_VARS - static field in class org.mozilla.javascript.Context
Control if strict variable mode is enabled.
FEATURE_TO_STRING_AS_SOURCE - static field in class org.mozilla.javascript.Context
Control if toString() should returns the same result as toSource() when applied to objects and arrays.
findPrototypeId(String) - method in class org.mozilla.javascript.ImporterTopLevel
Function - interface org.mozilla.javascript.Function
This is interface that all functions in JavaScript must implement.
FunctionObject - class org.mozilla.javascript.FunctionObject
Create a JavaScript function object from a Java method.

G

GeneratedClassLoader - interface org.mozilla.javascript.GeneratedClassLoader
Interface to define classes from generated byte code.
get(int,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Scriptable
Get a property from the object selected by an integral index.
get(int,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.ScriptableObject
Returns the value of the indexed property or NOT_FOUND.
get(org.mozilla.javascript.Scriptable) - static method in class org.mozilla.javascript.ClassCache
Search for ClassCache object in the given scope.
get(String,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.ImporterTopLevel
get(String,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Scriptable
Get a named property from the object.
get(String,org.mozilla.javascript.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.
getApplicationClassLoader() - method in class org.mozilla.javascript.Context
getApplicationClassLoader() - method in class org.mozilla.javascript.ContextFactory
Get ClassLoader to use when searching for Java classes.
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).
getAssociatedValue(Object) - method in class org.mozilla.javascript.ScriptableObject
Get arbitrary application-specific value associated with this object.
getAttributes(int) - method in class org.mozilla.javascript.ScriptableObject
Get the attributes of an indexed property.
getAttributes(String) - method in class org.mozilla.javascript.ScriptableObject
Get the attributes of a named property.
getClassName() - method in class org.mozilla.javascript.ImporterTopLevel
getClassName() - method in class 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.
Get the prototype for the named class.
getColumnNumber() - method in class org.mozilla.javascript.EcmaError
getColumnNumber() - method in class org.mozilla.javascript.EvaluatorException
getCompilerEnv() - method in class org.mozilla.javascript.optimizer.ClassCompiler
Get the compiler environment the compiler uses.
getCurrentContext() - static method in class org.mozilla.javascript.Context
Get the current Context.
getDebuggableView(org.mozilla.javascript.Script) - static method in class org.mozilla.javascript.Context
Return DebuggableScript instance if any associated with the script.
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 class 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(org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Context
Get the elements of a JavaScript array.
getErrorMessage() - method in class org.mozilla.javascript.EcmaError
Gets the message corresponding to the error.
getErrorObject() - method in class org.mozilla.javascript.EcmaError
getErrorReporter() - method in class org.mozilla.javascript.CompilerEnvirons
getErrorReporter() - method in class org.mozilla.javascript.Context
Get the current error reporter.
getFactory() - method in class org.mozilla.javascript.Context
Return ContextFactory instance used to create this Context or the result of ContextFactory.getGlobal() if no factory was used for Context creation.
getFunction(int) - method in class org.mozilla.javascript.debug.DebuggableScript
getFunctionCount() - method in class org.mozilla.javascript.debug.DebuggableScript
getFunctionName() - method in class org.mozilla.javascript.debug.DebuggableScript
Get name of the function described by this script.
getFunctionName() - method in class org.mozilla.javascript.FunctionObject
getFunctionPrototype(org.mozilla.javascript.Scriptable) - static method in class org.mozilla.javascript.ScriptableObject
Get the Function.prototype property.
getGlobal() - static method in class org.mozilla.javascript.ContextFactory
Get global ContextFactory.
getIds() - method in class 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.CompilerEnvirons
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 getArity().
getLineNumber() - method in class org.mozilla.javascript.EcmaError
getLineNumber() - method in class org.mozilla.javascript.EvaluatorException
getLineNumber() - method in class org.mozilla.javascript.JavaScriptException
getLineNumbers() - method in class org.mozilla.javascript.debug.DebuggableScript
Get array containing the line numbers that that can be passed to DebugFrame.onLineChange().
getLineSource() - method in class org.mozilla.javascript.EcmaError
getLineSource() - method in class org.mozilla.javascript.EvaluatorException
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.
getMessage() - method in class org.mozilla.javascript.RhinoException
getMethodOrConstructor() - method in class org.mozilla.javascript.FunctionObject
Get Java method or constructor this function represent.
getName() - method in class org.mozilla.javascript.EcmaError
Gets the name of the error.
getObjectPrototype(org.mozilla.javascript.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 class org.mozilla.javascript.debug.DebuggableScript
Get number of declared parameters and local variables.
getParamCount() - method in class org.mozilla.javascript.debug.DebuggableScript
Get number of declared parameters in function.
getParamOrVarName(int) - method in class org.mozilla.javascript.debug.DebuggableScript
Get name of a declared parameter or local variable.
getParent() - method in class org.mozilla.javascript.debug.DebuggableScript
getParentScope() - method in class 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(org.mozilla.javascript.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(org.mozilla.javascript.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(org.mozilla.javascript.Scriptable) - static method in class org.mozilla.javascript.ScriptableObject
Returns an array of all ids from an object and its prototypes.
getPrototype() - method in class 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.debug.DebuggableScript
Get the name of the source (usually filename or URL) of the script.
getSourceName() - method in class org.mozilla.javascript.EcmaError
getSourceName() - method in class org.mozilla.javascript.EvaluatorException
getSourceName() - method in class org.mozilla.javascript.JavaScriptException
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(org.mozilla.javascript.Scriptable) - static method in class org.mozilla.javascript.ScriptableObject
Get the global scope.
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 class 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 class org.mozilla.javascript.WrappedException
Get the wrapped exception.

H

has(int,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Scriptable
Indicates whether or not an indexed property is defined in an object.
has(int,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.ScriptableObject
Returns true if the property index is defined.
has(String,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.ImporterTopLevel
has(String,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Scriptable
Indicates whether or not a named property is defined in an object.
has(String,org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.ScriptableObject
Returns true if the named property is defined.
hasCompileFunctionsWithDynamicScope() - method in class org.mozilla.javascript.Context
hasExcludedName(String) - method in class org.mozilla.javascript.serialize.ScriptableOutputStream
Returns true if the name is excluded from serialization.
hasExplicitGlobal() - static method in class org.mozilla.javascript.ContextFactory
Check if global factory was set.
hasFeature(int) - method in class org.mozilla.javascript.Context
Controls certain aspects of script semantics.
hasFeature(org.mozilla.javascript.Context,int) - method in class org.mozilla.javascript.ContextFactory
Implementation of Context.hasFeature(int featureIndex).
hasGlobal() - static method in class org.mozilla.javascript.SecurityController
Check if global SecurityController was already installed.
hasInstance(org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Scriptable
The instanceof operator.
hasInstance(org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.ScriptableObject
Implements the instanceof operator.
hasProperty(org.mozilla.javascript.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(org.mozilla.javascript.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

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
ImporterTopLevel(org.mozilla.javascript.Context) - constructor for class org.mozilla.javascript.ImporterTopLevel
ImporterTopLevel(org.mozilla.javascript.Context,boolean) - constructor for class org.mozilla.javascript.ImporterTopLevel
initApplicationClassLoader(ClassLoader) - method in class org.mozilla.javascript.ContextFactory
Set explicit class loader to use when searching for Java classes.
initColumnNumber(int) - method in class org.mozilla.javascript.RhinoException
Initialize the column number of the script statement causing the error.
initFromContext(org.mozilla.javascript.Context) - method in class org.mozilla.javascript.CompilerEnvirons
initGlobal(org.mozilla.javascript.ContextFactory) - static method in class org.mozilla.javascript.ContextFactory
Set global ContextFactory.
initGlobal(org.mozilla.javascript.SecurityController) - static method in class org.mozilla.javascript.SecurityController
Initialize global controller that will be used for all security-related operations.
initLineNumber(int) - method in class org.mozilla.javascript.RhinoException
Initialize the line number of the script statement causing the error.
initLineSource(String) - method in class org.mozilla.javascript.RhinoException
Initialize the text of the source line containing the error.
initPrototypeId(int) - method in class org.mozilla.javascript.ImporterTopLevel
initSourceName(String) - method in class org.mozilla.javascript.RhinoException
Initialize the uri of the script source containing the error.
initStandardObjects() - method in class org.mozilla.javascript.Context
Initialize the standard objects.
Initialize the standard objects.
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.
isAllowMemberExprAsFunctionName() - method in class org.mozilla.javascript.CompilerEnvirons
isCachingEnabled() - method in class org.mozilla.javascript.ClassCache
Check if generated Java classes and Java reflection information is cached.
isFunction() - method in class org.mozilla.javascript.debug.DebuggableScript
Returns true if this is a function, false if it is a script.
isGenerateDebugInfo() - method in class org.mozilla.javascript.CompilerEnvirons
isGeneratedScript() - method in class org.mozilla.javascript.debug.DebuggableScript
Returns true if this script or function were runtime-generated from JavaScript using eval function or Function or Script constructors.
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.CompilerEnvirons
isGeneratingSource() - method in class org.mozilla.javascript.Context
Tell whether source information is being generated.
isInvokerOptimizationEnabled() - method in class org.mozilla.javascript.ClassCache
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.
isReservedKeywordAsIdentifier() - method in class org.mozilla.javascript.CompilerEnvirons
isSealed() - method in class org.mozilla.javascript.Context
Checks if this is a sealed Context.
isSealed() - method in class org.mozilla.javascript.ContextFactory
Checks if this is a sealed ContextFactory.
isSealed() - method in class org.mozilla.javascript.ScriptableObject
Return true if this object is sealed.
isTopLevel() - method in class org.mozilla.javascript.debug.DebuggableScript
isUseDynamicScope() - method in class org.mozilla.javascript.CompilerEnvirons
isValidLanguageVersion(int) - static method in class org.mozilla.javascript.Context
isValidOptimizationLevel(int) - static method in class org.mozilla.javascript.Context
isXmlAvailable() - method in class org.mozilla.javascript.CompilerEnvirons

J

JAVA_BOOLEAN_TYPE - static field in class org.mozilla.javascript.FunctionObject
JAVA_DOUBLE_TYPE - static field in class org.mozilla.javascript.FunctionObject
JAVA_INT_TYPE - static field in class org.mozilla.javascript.FunctionObject
JAVA_OBJECT_TYPE - static field in class org.mozilla.javascript.FunctionObject
JAVA_SCRIPTABLE_TYPE - static field in class org.mozilla.javascript.FunctionObject
JAVA_STRING_TYPE - static field in class org.mozilla.javascript.FunctionObject
JAVA_UNSUPPORTED_TYPE - static field in class org.mozilla.javascript.FunctionObject
JavaScriptException - class org.mozilla.javascript.JavaScriptException
Java reflection of JavaScript exceptions.
JavaScriptException(Object) - constructor for class org.mozilla.javascript.JavaScriptException
JavaScriptException(Object,String,int) - constructor for class org.mozilla.javascript.JavaScriptException
Create a JavaScript exception wrapping the given JavaScript value
javaToJS(Object,org.mozilla.javascript.Scriptable) - static method in class org.mozilla.javascript.Context
Convenient method to convert java value to its closest representation in JavaScript.
jsToJava(Object,Class) - static method in class org.mozilla.javascript.Context
Convert a JavaScript value into the desired type.

L

languageVersionProperty - static field in class org.mozilla.javascript.Context
lineNumber() - method in class org.mozilla.javascript.RhinoException
Returns the line number of the statement causing the error, or zero if not available.
lineSource() - method in class org.mozilla.javascript.RhinoException
The source text of the line causing the error, or null if unknown.
linkClass(Class) - method in class org.mozilla.javascript.GeneratedClassLoader
Link the given class.

M

makeAuxiliaryClassName(String,String) - method in class org.mozilla.javascript.optimizer.ClassCompiler
Build class name for a auxiliary class generated by compiler.
makeContext() - method in class org.mozilla.javascript.ContextFactory
Create new Context instance to be associated with the current thread.

N

newArray(org.mozilla.javascript.Scriptable,int) - method in class org.mozilla.javascript.Context
Create an array with a specified initial length.
newArray(org.mozilla.javascript.Scriptable,Object[]) - method in class org.mozilla.javascript.Context
Create an array with a set of initial elements.
newClassSerialNumber() - method in class org.mozilla.javascript.ClassCache
Internal engine method to return serial number for generated classes to ensure name uniqueness.
newObject(org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Context
Create a new JavaScript object.
newObject(org.mozilla.javascript.Scriptable,String) - method in class org.mozilla.javascript.Context
Create a new JavaScript object by executing the named constructor.
Creates a new JavaScript object by executing the named constructor.
NOT_FOUND - static field in class org.mozilla.javascript.Scriptable
Value returned from get if the property is not found.

O

observeInstructionCount(int) - method in class org.mozilla.javascript.Context
Allow application to monitor counter of executed script instructions in Context subclasses.
Implementation of Context.observeInstructionCount(int instructionCount).
onContextCreated(org.mozilla.javascript.Context) - method in class org.mozilla.javascript.ContextFactory
onContextReleased(org.mozilla.javascript.Context) - method in class org.mozilla.javascript.ContextFactory

P

PERMANENT - static field in class org.mozilla.javascript.ScriptableObject
Property attribute indicating property cannot be deleted.
printStackTrace(PrintStream) - method in class org.mozilla.javascript.RhinoException
printStackTrace(PrintWriter) - method in class org.mozilla.javascript.RhinoException
put(int,org.mozilla.javascript.Scriptable,Object) - method in class org.mozilla.javascript.Scriptable
Sets an indexed property in this object.
Sets the value of the indexed property, creating it if need be.
put(String,org.mozilla.javascript.Scriptable,Object) - method in class org.mozilla.javascript.Scriptable
Sets a named property in this object.
Sets the value of the named property, creating it if need be.
putProperty(org.mozilla.javascript.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.
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 field in class org.mozilla.javascript.ScriptableObject
Property attribute indicating assignment to this property is ignored.
Perform function call in reference context.
RefCallable - interface org.mozilla.javascript.RefCallable
Object that can allows assignments to the result of function calls.
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(org.mozilla.javascript.ContextListener) - static method in class org.mozilla.javascript.Context
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.
replaceObject(Object) - method in class org.mozilla.javascript.serialize.ScriptableOutputStream
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.
resolveClass(ObjectStreamClass) - method in class org.mozilla.javascript.serialize.ScriptableInputStream
resolveObject(Object) - method in class org.mozilla.javascript.serialize.ScriptableInputStream
RhinoException - class org.mozilla.javascript.RhinoException
The class of exceptions thrown by the JavaScript engine.
run(org.mozilla.javascript.Context) - method in class org.mozilla.javascript.ContextAction
Execute action using the supplied Context instance.
runtimeError(String,String,int,String,int) - method in class 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.
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 constructor.
seal() - method in class org.mozilla.javascript.ContextFactory
Seal this ContextFactory so any attempt to modify it like to add or remove its listeners will throw an exception.
seal(Object) - method in class org.mozilla.javascript.Context
Seal this Context object so any attempt to modify any of its properties including calling enter() and exit() methods will throw an exception.
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.
setAllowMemberExprAsFunctionName(boolean) - method in class org.mozilla.javascript.CompilerEnvirons
setApplicationClassLoader(ClassLoader) - method in class org.mozilla.javascript.Context
setAttributes(int,int) - method in class org.mozilla.javascript.ScriptableObject
Set the attributes of an indexed property.
setAttributes(String,int) - method in class org.mozilla.javascript.ScriptableObject
Set the attributes of a named property.
setCachingEnabled(boolean) - method in class org.mozilla.javascript.ClassCache
Set whether to cache some values.
setCachingEnabled(boolean) - static method in class org.mozilla.javascript.Context
setClassShutter(org.mozilla.javascript.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 the associated debugger.
setErrorReporter(org.mozilla.javascript.ErrorReporter) - method in class org.mozilla.javascript.Context
Change the current error reporter.
setGenerateDebugInfo(boolean) - method in class org.mozilla.javascript.CompilerEnvirons
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.CompilerEnvirons
Specify whether or not source 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
setInvokerOptimizationEnabled(boolean) - method in class org.mozilla.javascript.ClassCache
setJavaPrimitiveWrap(boolean) - method in class org.mozilla.javascript.WrapFactory
setLanguageVersion(int) - method in class org.mozilla.javascript.CompilerEnvirons
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.
setMainMethodClass(String) - method in class org.mozilla.javascript.optimizer.ClassCompiler
Set the class name to use for main method implementation.
setOptimizationLevel(int) - method in class org.mozilla.javascript.CompilerEnvirons
setOptimizationLevel(int) - method in class org.mozilla.javascript.Context
Set the current optimization level.
setParentScope(org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Scriptable
Set the parent scope of the object.
Sets the parent (enclosing) scope of the object.
setPrototype(org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.Scriptable
Set the prototype of the object.
setPrototype(org.mozilla.javascript.Scriptable) - method in class org.mozilla.javascript.ScriptableObject
Sets the prototype of the object.
setReservedKeywordAsIdentifier(boolean) - method in class org.mozilla.javascript.CompilerEnvirons
Set the security controller for this context.
setTargetExtends(Class) - method in class org.mozilla.javascript.optimizer.ClassCompiler
Set the class that the generated target will extend.
setTargetImplements(Class[]) - method in class org.mozilla.javascript.optimizer.ClassCompiler
Set the interfaces that the generated target will implement.
setWrapFactory(org.mozilla.javascript.WrapFactory) - method in class org.mozilla.javascript.Context
Set a WrapFactory for this Context.
setXmlAvailable(boolean) - method in class org.mozilla.javascript.CompilerEnvirons
sourceName() - method in class org.mozilla.javascript.RhinoException
Get the uri of the script source containing the error, or null if that information is not available.
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(org.mozilla.javascript.Scriptable) - constructor for class org.mozilla.javascript.Synchronizer
Create a new synchronized function from an existing one.

T

throwAsScriptRuntimeEx(Throwable) - static method in class org.mozilla.javascript.Context
Rethrow the exception wrapping it as the script runtime exception.
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,org.mozilla.javascript.Scriptable) - static method in class org.mozilla.javascript.Context
Convert the value to an JavaScript object value.
toObject(Object,org.mozilla.javascript.Scriptable,Class) - static method in class org.mozilla.javascript.Context
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

U

unseal(Object) - method in class org.mozilla.javascript.Context
Unseal previously sealed Context object.
unwrap() - method in class org.mozilla.javascript.WrappedException
unwrap() - method in class org.mozilla.javascript.Wrapper
Unwrap the object by returning the wrapped value.

V

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

W

warning(String,String,int,String,int) - method in class org.mozilla.javascript.ErrorReporter
Report a warning.
Wrap the object.
Wrap Java object as Scriptable instance to allow full access to its methods and fields from JavaScript.
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.
Wrap an object newly created by a constructor call.
WrappedException - class org.mozilla.javascript.WrappedException
A wrapper for runtime exceptions.
WrappedException(Throwable) - constructor for class org.mozilla.javascript.WrappedException
Wrapper - interface org.mozilla.javascript.Wrapper
Objects that can wrap other values for reflection in the JS environment will implement Wrapper.