| Modifier and Type | Interface and Description |
|---|---|
interface |
Function
This is interface that all functions in JavaScript must implement.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFunction
The base class for Function objects
See ECMA 15.3.
|
class |
Delegator
This is a helper class for implementing wrappers around Scriptable
objects.
|
class |
FunctionObject |
class |
IdFunctionObject |
class |
IdScriptableObject
Base class for native object implementation that uses IdFunctionObject to export its methods to script via
|
class |
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.
|
class |
NativeArray
This class implements the Array native object.
|
class |
NativeCall
This class implements the activation object.
|
class |
NativeContinuation |
class |
NativeFunction
This class implements the Function native object.
|
class |
NativeGenerator
This class implements generator objects.
|
class |
NativeIterator
This class implements iterator objects.
|
class |
NativeJavaArray
This class reflects Java arrays into the JavaScript environment.
|
class |
NativeJavaClass
This class reflects Java classes into the JavaScript environment, mainly
for constructors and static members.
|
class |
NativeJavaConstructor
This class reflects a single Java constructor into the JavaScript
environment.
|
class |
NativeJavaMethod
This class reflects Java methods into the JavaScript environment and
handles overloading of methods.
|
class |
NativeJavaObject
This class reflects non-Array Java objects into the JavaScript environment.
|
class |
NativeJavaPackage
This class reflects Java packages into the JavaScript environment.
|
class |
NativeJavaTopPackage
This class reflects Java packages into the JavaScript environment.
|
class |
NativeObject
This class implements the Object native object.
|
class |
NativeWith
This class implements the object lookup required for the
with statement. |
class |
ScriptableObject
This is the default implementation of the Scriptable interface.
|
class |
Synchronizer
This class provides support for implementing Java-style synchronized
methods in Javascript.
|
| Modifier and Type | Field and Description |
|---|---|
protected Scriptable |
Delegator.obj |
protected Scriptable |
NativeJavaObject.parent
The parent scope of this object.
|
protected Scriptable |
NativeWith.parent |
protected Scriptable |
NativeJavaObject.prototype
The prototype of this object.
|
protected Scriptable |
NativeWith.prototype |
| Modifier and Type | Field and Description |
|---|---|
static Class<Scriptable> |
ScriptRuntime.ScriptableClass |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Scriptable> |
ScriptableObject.defineClass(Scriptable scope,
Class<T> clazz)
Defines JavaScript objects from a Java class that implements Scriptable.
|
static <T extends Scriptable> |
ScriptableObject.defineClass(Scriptable scope,
Class<T> clazz,
boolean sealed)
Defines JavaScript objects from a Java class, optionally
allowing sealing.
|
static <T extends Scriptable> |
ScriptableObject.defineClass(Scriptable scope,
Class<T> clazz,
boolean sealed,
boolean mapInheritance)
Defines JavaScript objects from a Java class, optionally
allowing sealing and mapping of Java inheritance to JavaScript
prototype-based inheritance.
|
| Modifier and Type | Method and Description |
|---|---|
static Scriptable |
ScriptRuntime.bind(Context cx,
Scriptable scope,
String id)
Returns the object in the scope chain that has a given property.
|
Scriptable |
Function.construct(Context cx,
Scriptable scope,
Object[] args)
Call the function as a constructor.
|
Scriptable |
Delegator.construct(Context cx,
Scriptable scope,
Object[] args)
Note that if the
delegee is null,
this method creates a new instance of the Delegator itself
rathert than forwarding the call to the
delegee. |
Scriptable |
BaseFunction.construct(Context cx,
Scriptable scope,
Object[] args) |
Scriptable |
NativeContinuation.construct(Context cx,
Scriptable scope,
Object[] args) |
Scriptable |
NativeJavaClass.construct(Context cx,
Scriptable scope,
Object[] args) |
Scriptable |
NativeJavaTopPackage.construct(Context cx,
Scriptable scope,
Object[] args) |
static Scriptable |
JavaAdapter.createAdapterWrapper(Scriptable obj,
Object adapter) |
static Scriptable |
ScriptRuntime.createFunctionActivation(NativeFunction funObj,
Scriptable scope,
Object[] args) |
Scriptable |
IdFunctionObject.createObject(Context cx,
Scriptable scope) |
Scriptable |
FunctionObject.createObject(Context cx,
Scriptable scope)
Return new
Scriptable instance using the default
constructor for the class of the underlying Java method. |
Scriptable |
BaseFunction.createObject(Context cx,
Scriptable scope)
Creates new script object.
|
static Scriptable |
ScriptRuntime.enterDotQuery(Object value,
Scriptable scope) |
static Scriptable |
ScriptRuntime.enterWith(Object obj,
Context cx,
Scriptable scope) |
protected Scriptable |
BaseFunction.getClassPrototype() |
static Scriptable |
ScriptableObject.getClassPrototype(Scriptable scope,
String className)
Get the prototype for the named class.
|
Scriptable |
Delegator.getDelegee()
Retrieve the delegee.
|
Scriptable |
EcmaError.getErrorObject()
Deprecated.
Always returns null.
|
static Scriptable |
ScriptableObject.getFunctionPrototype(Scriptable scope)
Get the Function.prototype property.
|
static Scriptable |
ScriptableObject.getObjectPrototype(Scriptable scope)
Get the Object.prototype property.
|
Scriptable |
Delegator.getParentScope() |
Scriptable |
NativeJavaObject.getParentScope()
Returns the parent (enclosing) scope of the object.
|
Scriptable |
NativeWith.getParentScope() |
Scriptable |
Scriptable.getParentScope()
Get the parent scope of the object.
|
Scriptable |
ScriptableObject.getParentScope()
Returns the parent (enclosing) scope of the object.
|
Scriptable |
IdFunctionObject.getPrototype() |
Scriptable |
Delegator.getPrototype() |
Scriptable |
NativeJavaArray.getPrototype() |
Scriptable |
NativeJavaObject.getPrototype() |
Scriptable |
NativeWith.getPrototype() |
Scriptable |
Scriptable.getPrototype()
Get the prototype of the object.
|
Scriptable |
ScriptableObject.getPrototype()
Returns the prototype of the object.
|
static Scriptable |
ScriptRuntime.getTopCallScope(Context cx) |
static Scriptable |
ScriptableObject.getTopLevelScope(Scriptable obj)
Get the global scope.
|
Scriptable |
Context.initStandardObjects(ScriptableObject scope)
Initialize the standard objects.
|
static Scriptable |
ScriptRuntime.lastStoredScriptable(Context cx) |
static Scriptable |
ScriptRuntime.leaveDotQuery(Scriptable scope) |
static Scriptable |
ScriptRuntime.leaveWith(Scriptable scope) |
Scriptable |
Context.newArray(Scriptable scope,
int length)
Create an array with a specified initial length.
|
Scriptable |
Context.newArray(Scriptable scope,
Object[] elements)
Create an array with a set of initial elements.
|
static Scriptable |
ScriptRuntime.newArrayLiteral(Object[] objects,
int[] skipIndices,
Context cx,
Scriptable scope) |
static Scriptable |
ScriptRuntime.newCatchScope(Throwable t,
Scriptable lastCatchScope,
String exceptionName,
Context cx,
Scriptable scope) |
static Scriptable |
ScriptRuntime.newObject(Context cx,
Scriptable scope,
String constructorName,
Object[] args) |
static Scriptable |
ScriptRuntime.newObject(Object fun,
Context cx,
Scriptable scope,
Object[] args)
Operator new.
|
Scriptable |
Context.newObject(Scriptable scope)
Create a new JavaScript object.
|
Scriptable |
Context.newObject(Scriptable scope,
String constructorName)
Create a new JavaScript object by executing the named constructor.
|
Scriptable |
Context.newObject(Scriptable scope,
String constructorName,
Object[] args)
Creates a new JavaScript object by executing the named constructor.
|
static Scriptable |
ScriptRuntime.newObjectLiteral(Object[] propertyIds,
Object[] propertyValues,
Context cx,
Scriptable scope)
Deprecated.
This method only present for compatibility.
|
static Scriptable |
ScriptRuntime.newObjectLiteral(Object[] propertyIds,
Object[] propertyValues,
int[] getterSetters,
Context cx,
Scriptable scope) |
static Scriptable |
JavaAdapter.runScript(Script script) |
static Scriptable |
ScriptRuntime.toIterator(Context cx,
Scriptable scope,
Scriptable obj,
boolean keyOnly) |
static Scriptable |
ScriptRuntime.toObject(Context cx,
Scriptable scope,
Object val)
Convert the value to an object.
|
static Scriptable |
ScriptRuntime.toObject(Context cx,
Scriptable scope,
Object val,
Class<?> staticClass)
Deprecated.
Use
ScriptRuntime.toObject(Context, Scriptable, Object) instead. |
static Scriptable |
Context.toObject(Object value,
Scriptable scope)
Convert the value to an JavaScript object value.
|
static Scriptable |
Context.toObject(Object value,
Scriptable scope,
Class<?> staticType)
Deprecated.
|
static Scriptable |
ScriptRuntime.toObject(Scriptable scope,
Object val) |
static Scriptable |
ScriptRuntime.toObject(Scriptable scope,
Object val,
Class<?> staticClass)
Deprecated.
Use
ScriptRuntime.toObject(Scriptable, Object) instead. |
static Scriptable |
ScriptRuntime.toObjectOrNull(Context cx,
Object obj)
Warning: this doesn't allow to resolve primitive prototype properly when many top scopes are involved
|
static Scriptable |
ScriptRuntime.toObjectOrNull(Context cx,
Object obj,
Scriptable scope) |
Scriptable |
WrapFactory.wrapAsJavaObject(Context cx,
Scriptable scope,
Object javaObject,
Class<?> staticType)
Wrap Java object as Scriptable instance to allow full access to its
methods and fields from JavaScript.
|
Scriptable |
WrapFactory.wrapNewObject(Context cx,
Scriptable scope,
Object obj)
Wrap an object newly created by a constructor call.
|
Scriptable |
RegExpProxy.wrapRegExp(Context cx,
Scriptable scope,
Object compiled) |
| Modifier and Type | Method and Description |
|---|---|
Object |
RegExpProxy.action(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args,
int actionType) |
void |
FunctionObject.addAsConstructor(Scriptable scope,
Scriptable prototype)
Define this function as a JavaScript constructor.
|
void |
IdFunctionObject.addAsProperty(Scriptable target) |
protected void |
IdScriptableObject.addIdFunctionProperty(Scriptable obj,
Object tag,
int id,
String name,
int arity) |
static Object |
ScriptRuntime.applyOrCall(boolean isApply,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Function.prototype.apply and Function.prototype.call
See Ecma 15.3.4.[34]
|
static Scriptable |
ScriptRuntime.bind(Context cx,
Scriptable scope,
String id)
Returns the object in the scope chain that has a given property.
|
abstract Object |
PolicySecurityController.SecureCaller.call(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
abstract Object |
SecureCaller.call(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
static Object |
Context.call(ContextFactory factory,
Callable callable,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Call
Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
using the Context instance associated with the current thread. |
static Object |
ScriptRuntime.call(Context cx,
Object fun,
Object thisArg,
Object[] args,
Scriptable scope)
Deprecated.
The method is only present for compatibility.
|
Object |
IdFunctionObject.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
FunctionObject.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Performs conversions on argument types if needed and
invokes the underlying Java method or constructor.
|
Object |
Function.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Call the function.
|
Object |
Delegator.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
Callable.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Perform the call.
|
Object |
BaseFunction.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Should be overridden.
|
Object |
NativeContinuation.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeJavaClass.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeJavaConstructor.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeJavaMethod.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeJavaTopPackage.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
Synchronizer.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
Context.callFunctionWithContinuations(Callable function,
Scriptable scope,
Object[] args)
Call function that may pause execution by capturing a continuation.
|
static Object |
JavaAdapter.callMethod(ContextFactory factory,
Scriptable thisObj,
Function f,
Object[] args,
long argsToWrap)
Utility method which dynamically binds a Context to the current thread,
if none already exists.
|
static Object |
ScriptableObject.callMethod(Context cx,
Scriptable obj,
String methodName,
Object[] args)
Call a method of an object.
|
static Object |
ScriptableObject.callMethod(Scriptable obj,
String methodName,
Object[] args)
Call a method of an object.
|
static Ref |
ScriptRuntime.callRef(Callable function,
Scriptable thisObj,
Object[] args,
Context cx)
Perform function call in reference context.
|
static Object |
ScriptRuntime.callSpecial(Context cx,
Callable fun,
Scriptable thisObj,
Object[] args,
Scriptable scope,
Scriptable callerThis,
int callType,
String filename,
int lineNumber) |
Object |
PolicySecurityController.callWithDomain(Object securityDomain,
Context cx,
Callable callable,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
SecurityController.callWithDomain(Object securityDomain,
Context cx,
Callable callable,
Scriptable scope,
Scriptable thisObj,
Object[] args)
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. |
Function |
Context.compileFunction(Scriptable scope,
String source,
String sourceName,
int lineno,
Object securityDomain)
Compile a JavaScript function.
|
Script |
Context.compileReader(Scriptable scope,
Reader in,
String sourceName,
int lineno,
Object securityDomain)
Deprecated.
|
Scriptable |
Function.construct(Context cx,
Scriptable scope,
Object[] args)
Call the function as a constructor.
|
Scriptable |
Delegator.construct(Context cx,
Scriptable scope,
Object[] args)
Note that if the
delegee is null,
this method creates a new instance of the Delegator itself
rathert than forwarding the call to the
delegee. |
Scriptable |
BaseFunction.construct(Context cx,
Scriptable scope,
Object[] args) |
Scriptable |
NativeContinuation.construct(Context cx,
Scriptable scope,
Object[] args) |
Scriptable |
NativeJavaClass.construct(Context cx,
Scriptable scope,
Object[] args) |
Scriptable |
NativeJavaTopPackage.construct(Context cx,
Scriptable scope,
Object[] args) |
static EcmaError |
NativeGlobal.constructError(Context cx,
String error,
String message,
Scriptable scope)
Deprecated.
Use
ScriptRuntime.constructError(String,String)
instead. |
static EcmaError |
NativeGlobal.constructError(Context cx,
String error,
String message,
Scriptable scope,
String sourceName,
int lineNumber,
int columnNumber,
String lineSource)
Deprecated.
|
static Object |
FunctionObject.convertArg(Context cx,
Scriptable scope,
Object arg,
Class<?> desired)
Deprecated.
Use
FunctionObject.getTypeTag(Class)
and FunctionObject.convertArg(Context, Scriptable, Object, int)
for type conversion. |
static Object |
FunctionObject.convertArg(Context cx,
Scriptable scope,
Object arg,
int typeTag) |
static Scriptable |
JavaAdapter.createAdapterWrapper(Scriptable obj,
Object adapter) |
static Scriptable |
ScriptRuntime.createFunctionActivation(NativeFunction funObj,
Scriptable scope,
Object[] args) |
Function |
Evaluator.createFunctionObject(Context cx,
Scriptable scope,
Object bytecode,
Object staticSecurityDomain)
Create a function object.
|
Function |
Interpreter.createFunctionObject(Context cx,
Scriptable scope,
Object bytecode,
Object staticSecurityDomain) |
Scriptable |
IdFunctionObject.createObject(Context cx,
Scriptable scope) |
Scriptable |
FunctionObject.createObject(Context cx,
Scriptable scope)
Return new
Scriptable instance using the default
constructor for the class of the underlying Java method. |
Scriptable |
BaseFunction.createObject(Context cx,
Scriptable scope)
Creates new script object.
|
static <T extends Scriptable> |
ScriptableObject.defineClass(Scriptable scope,
Class<T> clazz)
Defines JavaScript objects from a Java class that implements Scriptable.
|
static <T extends Scriptable> |
ScriptableObject.defineClass(Scriptable scope,
Class<T> clazz,
boolean sealed)
Defines JavaScript objects from a Java class, optionally
allowing sealing.
|
static <T extends Scriptable> |
ScriptableObject.defineClass(Scriptable scope,
Class<T> clazz,
boolean sealed,
boolean mapInheritance)
Defines JavaScript objects from a Java class, optionally
allowing sealing and mapping of Java inheritance to JavaScript
prototype-based inheritance.
|
void |
ConstProperties.defineConst(String name,
Scriptable start)
Reserves a definition spot for a const.
|
void |
ScriptableObject.defineConst(String name,
Scriptable start) |
static void |
ScriptableObject.defineConstProperty(Scriptable destination,
String propertyName)
Utility method to add properties to arbitrary Scriptable object.
|
static void |
ScriptableObject.defineProperty(Scriptable destination,
String propertyName,
Object value,
int attributes)
Utility method to add properties to arbitrary Scriptable object.
|
static boolean |
ScriptRuntime.deleteObjectElem(Scriptable target,
Object elem,
Context cx) |
static boolean |
ScriptableObject.deleteProperty(Scriptable obj,
int index)
Removes the property from an object or its prototype chain.
|
static boolean |
ScriptableObject.deleteProperty(Scriptable obj,
String name)
Removes the property from an object or its prototype chain.
|
protected Object |
ContextFactory.doTopCall(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Execute top call to script or function.
|
static Object |
ScriptRuntime.doTopCall(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
static void |
ScriptRuntime.enterActivationFunction(Context cx,
Scriptable scope) |
static Scriptable |
ScriptRuntime.enterDotQuery(Object value,
Scriptable scope) |
static Scriptable |
ScriptRuntime.enterWith(Object obj,
Context cx,
Scriptable scope) |
static Object |
ScriptRuntime.evalSpecial(Context cx,
Scriptable scope,
Object thisArg,
Object[] args,
String filename,
int lineNumber)
The eval function property of the global object.
|
Object |
Context.evaluateReader(Scriptable scope,
Reader in,
String sourceName,
int lineno,
Object securityDomain)
Evaluate a reader as JavaScript source.
|
Object |
Context.evaluateString(Scriptable scope,
String source,
String sourceName,
int lineno,
Object securityDomain)
Evaluate a JavaScript source string.
|
Object |
Script.exec(Context cx,
Scriptable scope)
Execute the script.
|
Object |
ImporterTopLevel.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
IdScriptableObject.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned.
|
Object |
IdFunctionCall.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned
|
Object |
BaseFunction.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
JavaAdapter.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeArray.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeCall.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeContinuation.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeGenerator.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeGlobal.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeIterator.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeJavaTopPackage.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeObject.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
NativeWith.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Object |
Context.executeScriptWithContinuations(Script script,
Scriptable scope)
Execute script that may pause execution by capturing a continuation.
|
Object |
SecurityController.execWithDomain(Context cx,
Scriptable scope,
Script script,
Object securityDomain)
Deprecated.
The application should not override this method and instead
override
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args). |
IdFunctionObject |
IdScriptableObject.exportAsJSClass(int maxPrototypeId,
Scriptable scope,
boolean sealed) |
int |
RegExpProxy.find_split(Context cx,
Scriptable scope,
String target,
String separator,
Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp) |
Object |
Delegator.get(int index,
Scriptable start) |
Object |
NativeArray.get(int index,
Scriptable start) |
Object |
NativeJavaArray.get(int index,
Scriptable start) |
Object |
NativeJavaObject.get(int index,
Scriptable start) |
Object |
NativeJavaPackage.get(int index,
Scriptable start) |
Object |
NativeWith.get(int index,
Scriptable start) |
Object |
Scriptable.get(int index,
Scriptable start)
Get a property from the object selected by an integral index.
|
Object |
ScriptableObject.get(int index,
Scriptable start)
Returns the value of the indexed property or NOT_FOUND.
|
static ClassCache |
ClassCache.get(Scriptable scope)
Search for ClassCache object in the given scope.
|
Object |
ImporterTopLevel.get(String name,
Scriptable start) |
Object |
IdScriptableObject.get(String name,
Scriptable start) |
Object |
Delegator.get(String name,
Scriptable start) |
Object |
NativeJavaArray.get(String id,
Scriptable start) |
Object |
NativeJavaClass.get(String name,
Scriptable start) |
Object |
NativeJavaObject.get(String name,
Scriptable start) |
Object |
NativeJavaPackage.get(String id,
Scriptable start) |
Object |
NativeWith.get(String id,
Scriptable start) |
Object |
Scriptable.get(String name,
Scriptable start)
Get a named property from the object.
|
Object |
ScriptableObject.get(String name,
Scriptable start)
Returns the value of the named property or NOT_FOUND.
|
static Object[] |
ScriptRuntime.getArrayElements(Scriptable object) |
int |
ScriptableObject.getAttributes(int index,
Scriptable start)
Deprecated.
Use
ScriptableObject.getAttributes(int index). The engine always
ignored the start argument. |
int |
ScriptableObject.getAttributes(String name,
Scriptable start)
Deprecated.
Use
ScriptableObject.getAttributes(String name). The engine always
ignored the start argument. |
static Scriptable |
ScriptableObject.getClassPrototype(Scriptable scope,
String className)
Get the prototype for the named class.
|
static Object |
ScriptableObject.getDefaultValue(Scriptable object,
Class<?> typeHint) |
Object[] |
Context.getElements(Scriptable object)
Get the elements of a JavaScript array.
|
static Function |
JavaAdapter.getFunction(Scriptable obj,
String functionName) |
static Scriptable |
ScriptableObject.getFunctionPrototype(Scriptable scope)
Get the Function.prototype property.
|
Iterator<?> |
VMBridge.getJavaIterator(Context cx,
Scriptable scope,
Object obj)
If "obj" is a java.util.Iterator or a java.lang.Iterable, return a
wrapping as a JavaScript Iterator.
|
static ScriptableObject |
ScriptRuntime.getLibraryScopeOrNull(Scriptable scope) |
static Callable |
ScriptRuntime.getNameFunctionAndThis(String name,
Context cx,
Scriptable scope)
Prepare for calling name(...): return function corresponding to
name and make current top scope available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
|
static Object |
ScriptRuntime.getObjectElem(Object obj,
Object elem,
Context cx,
Scriptable scope)
Call obj.[[Get]](id)
|
static Object |
ScriptRuntime.getObjectElem(Scriptable obj,
Object elem,
Context cx) |
static Object |
ScriptRuntime.getObjectIndex(Scriptable obj,
int index,
Context cx) |
static Object |
ScriptRuntime.getObjectProp(Object obj,
String property,
Context cx,
Scriptable scope) |
static Object |
ScriptRuntime.getObjectProp(Scriptable obj,
String property,
Context cx) |
static Scriptable |
ScriptableObject.getObjectPrototype(Scriptable scope)
Get the Object.prototype property.
|
static Object |
ScriptableObject.getProperty(Scriptable obj,
int index)
Gets an indexed property from an object or any object in its prototype chain.
|
static Object |
ScriptableObject.getProperty(Scriptable obj,
String name)
Gets a named property from an object or any object in its prototype chain.
|
static Object[] |
ScriptableObject.getPropertyIds(Scriptable obj)
Returns an array of all ids from an object and its prototypes.
|
static Callable |
ScriptRuntime.getPropFunctionAndThis(Object obj,
String property,
Context cx,
Scriptable scope)
Prepare for calling obj.property(...): return function corresponding to
obj.property and make obj properly converted to Scriptable available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
|
static Object |
NativeIterator.getStopIterationObject(Scriptable scope)
Get the value of the "StopIteration" object.
|
static Object |
ScriptRuntime.getTopLevelProp(Scriptable scope,
String id) |
static Scriptable |
ScriptableObject.getTopLevelScope(Scriptable obj)
Get the global scope.
|
static Object |
ScriptableObject.getTopScopeValue(Scriptable scope,
Object key)
Get arbitrary application-specific value associated with the top scope
of the given scope.
|
boolean |
Delegator.has(int index,
Scriptable start) |
boolean |
NativeArray.has(int index,
Scriptable start) |
boolean |
NativeJavaArray.has(int index,
Scriptable start) |
boolean |
NativeJavaObject.has(int index,
Scriptable start) |
boolean |
NativeJavaPackage.has(int index,
Scriptable start) |
boolean |
NativeWith.has(int index,
Scriptable start) |
boolean |
Scriptable.has(int index,
Scriptable start)
Indicates whether or not an indexed property is defined in an object.
|
boolean |
ScriptableObject.has(int index,
Scriptable start)
Returns true if the property index is defined.
|
boolean |
ImporterTopLevel.has(String name,
Scriptable start) |
boolean |
IdScriptableObject.has(String name,
Scriptable start) |
boolean |
Delegator.has(String name,
Scriptable start) |
boolean |
NativeJavaArray.has(String id,
Scriptable start) |
boolean |
NativeJavaClass.has(String name,
Scriptable start) |
boolean |
NativeJavaObject.has(String name,
Scriptable start) |
boolean |
NativeJavaPackage.has(String id,
Scriptable start) |
boolean |
NativeWith.has(String id,
Scriptable start) |
boolean |
Scriptable.has(String name,
Scriptable start)
Indicates whether or not a named property is defined in an object.
|
boolean |
ScriptableObject.has(String name,
Scriptable start)
Returns true if the named property is defined.
|
boolean |
Delegator.hasInstance(Scriptable instance) |
boolean |
BaseFunction.hasInstance(Scriptable instance)
Implements the instanceof operator for JavaScript Function objects.
|
boolean |
NativeJavaArray.hasInstance(Scriptable value) |
boolean |
NativeJavaClass.hasInstance(Scriptable value)
Determines if prototype is a wrapped Java object and performs
a Java "instanceof".
|
boolean |
NativeJavaObject.hasInstance(Scriptable value) |
boolean |
NativeWith.hasInstance(Scriptable value) |
boolean |
Scriptable.hasInstance(Scriptable instance)
The instanceof operator.
|
boolean |
ScriptableObject.hasInstance(Scriptable instance)
Implements the instanceof operator.
|
static boolean |
ScriptRuntime.hasObjectElem(Scriptable target,
Object elem,
Context cx) |
static boolean |
ScriptableObject.hasProperty(Scriptable obj,
int index)
Returns whether an indexed property is defined in an object or any object
in its prototype chain.
|
static boolean |
ScriptableObject.hasProperty(Scriptable obj,
String name)
Returns whether a named property is defined in an object or any object
in its prototype chain.
|
void |
ImporterTopLevel.importPackage(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
Deprecated.
Kept only for compatibility.
|
static void |
ImporterTopLevel.init(Context cx,
Scriptable scope,
boolean sealed) |
static void |
JavaAdapter.init(Context cx,
Scriptable scope,
boolean sealed) |
static void |
NativeContinuation.init(Context cx,
Scriptable scope,
boolean sealed) |
static void |
NativeGlobal.init(Context cx,
Scriptable scope,
boolean sealed) |
static void |
NativeJavaTopPackage.init(Context cx,
Scriptable scope,
boolean sealed) |
static void |
ScriptRuntime.initFunction(Context cx,
Scriptable scope,
NativeFunction function,
int type,
boolean fromEvalCode) |
void |
IdFunctionObject.initFunction(String name,
Scriptable scope) |
static void |
ScriptRuntime.initScript(NativeFunction funObj,
Scriptable thisObj,
Context cx,
Scriptable scope,
boolean evalScript) |
void |
NativeFunction.initScriptFunction(Context cx,
Scriptable scope) |
Object |
InterfaceAdapter.invoke(ContextFactory cf,
Object target,
Scriptable topScope,
Method method,
Object[] args) |
boolean |
RegExpProxy.isRegExp(Scriptable obj) |
static Object |
Context.javaToJS(Object value,
Scriptable scope)
Convenient method to convert java value to its closest representation
in JavaScript.
|
static boolean |
ScriptRuntime.jsDelegatesTo(Scriptable lhs,
Scriptable rhs)
Delegates to
|
static Scriptable |
ScriptRuntime.leaveDotQuery(Scriptable scope) |
static Scriptable |
ScriptRuntime.leaveWith(Scriptable scope) |
void |
IdFunctionObject.markAsConstructor(Scriptable prototypeProperty) |
static Object |
ScriptRuntime.name(Context cx,
Scriptable scope,
String name)
Looks up a name in the scope chain and returns its value.
|
static Object |
ScriptRuntime.nameIncrDecr(Scriptable scopeChain,
String id,
Context cx,
int incrDecrMask) |
static Object |
ScriptRuntime.nameIncrDecr(Scriptable scopeChain,
String id,
int incrDecrMask)
Deprecated.
The method is only present for compatibility.
|
static Ref |
ScriptRuntime.nameRef(Object name,
Context cx,
Scriptable scope,
int memberTypeFlags) |
static Ref |
ScriptRuntime.nameRef(Object namespace,
Object name,
Context cx,
Scriptable scope,
int memberTypeFlags) |
Scriptable |
Context.newArray(Scriptable scope,
int length)
Create an array with a specified initial length.
|
Scriptable |
Context.newArray(Scriptable scope,
Object[] elements)
Create an array with a set of initial elements.
|
static Scriptable |
ScriptRuntime.newArrayLiteral(Object[] objects,
int[] skipIndices,
Context cx,
Scriptable scope) |
static Scriptable |
ScriptRuntime.newCatchScope(Throwable t,
Scriptable lastCatchScope,
String exceptionName,
Context cx,
Scriptable scope) |
protected Object |
VMBridge.newInterfaceProxy(Object proxyHelper,
ContextFactory cf,
InterfaceAdapter adapter,
Object target,
Scriptable topScope)
Create proxy object for
InterfaceAdapter. |
static Scriptable |
ScriptRuntime.newObject(Context cx,
Scriptable scope,
String constructorName,
Object[] args) |
static Scriptable |
ScriptRuntime.newObject(Object fun,
Context cx,
Scriptable scope,
Object[] args)
Operator new.
|
Scriptable |
Context.newObject(Scriptable scope)
Create a new JavaScript object.
|
Scriptable |
Context.newObject(Scriptable scope,
String constructorName)
Create a new JavaScript object by executing the named constructor.
|
Scriptable |
Context.newObject(Scriptable scope,
String constructorName,
Object[] args)
Creates a new JavaScript object by executing the named constructor.
|
static Scriptable |
ScriptRuntime.newObjectLiteral(Object[] propertyIds,
Object[] propertyValues,
Context cx,
Scriptable scope)
Deprecated.
This method only present for compatibility.
|
static Scriptable |
ScriptRuntime.newObjectLiteral(Object[] propertyIds,
Object[] propertyValues,
int[] getterSetters,
Context cx,
Scriptable scope) |
static Object |
ScriptRuntime.newSpecial(Context cx,
Object fun,
Object[] args,
Scriptable scope,
int callType) |
static RuntimeException |
ScriptRuntime.notFoundError(Scriptable object,
String property) |
void |
Delegator.put(int index,
Scriptable start,
Object value) |
void |
NativeArray.put(int index,
Scriptable start,
Object value) |
void |
NativeJavaArray.put(int index,
Scriptable start,
Object value) |
void |
NativeJavaObject.put(int index,
Scriptable start,
Object value) |
void |
NativeJavaPackage.put(int index,
Scriptable start,
Object value) |
void |
NativeWith.put(int index,
Scriptable start,
Object value) |
void |
Scriptable.put(int index,
Scriptable start,
Object value)
Sets an indexed property in this object.
|
void |
ScriptableObject.put(int index,
Scriptable start,
Object value)
Sets the value of the indexed property, creating it if need be.
|
void |
IdScriptableObject.put(String name,
Scriptable start,
Object value) |
void |
Delegator.put(String name,
Scriptable start,
Object value) |
void |
NativeArray.put(String id,
Scriptable start,
Object value) |
void |
NativeJavaArray.put(String id,
Scriptable start,
Object value) |
void |
NativeJavaClass.put(String name,
Scriptable start,
Object value) |
void |
NativeJavaObject.put(String name,
Scriptable start,
Object value) |
void |
NativeJavaPackage.put(String id,
Scriptable start,
Object value) |
void |
NativeWith.put(String id,
Scriptable start,
Object value) |
void |
Scriptable.put(String name,
Scriptable start,
Object value)
Sets a named property in this object.
|
void |
ScriptableObject.put(String name,
Scriptable start,
Object value)
Sets the value of the named property, creating it if need be.
|
void |
ConstProperties.putConst(String name,
Scriptable start,
Object value)
Sets a named const property in this object.
|
void |
ScriptableObject.putConst(String name,
Scriptable start,
Object value)
Sets the value of the named const property, creating it if need be.
|
static void |
ScriptableObject.putConstProperty(Scriptable obj,
String name,
Object value)
Puts a named property in an object or in an object in its prototype chain.
|
static void |
ScriptableObject.putProperty(Scriptable obj,
int index,
Object value)
Puts an indexed property in an object or in an object in its prototype chain.
|
static void |
ScriptableObject.putProperty(Scriptable obj,
String name,
Object value)
Puts a named property in an object or in an object in its prototype chain.
|
static Object |
JavaAdapter.readAdapterObject(Scriptable self,
ObjectInputStream in) |
static void |
ScriptableObject.redefineProperty(Scriptable obj,
String name,
boolean isConst)
If hasProperty(obj, name) would return true, then if the property that
was found is compatible with the new property, this method just returns.
|
Ref |
RefCallable.refCall(Context cx,
Scriptable thisObj,
Object[] args)
Perform function call in reference context.
|
static Object |
Interpreter.restartContinuation(NativeContinuation c,
Context cx,
Scriptable scope,
Object[] args) |
Object |
Context.resumeContinuation(Object continuation,
Scriptable scope,
Object functionResult)
Restarts execution of the JavaScript suspended at the call
to
Context.captureContinuation(). |
static Object |
Interpreter.resumeGenerator(Context cx,
Scriptable scope,
int operation,
Object savedState,
Object value) |
Object |
NativeFunction.resumeGenerator(Context cx,
Scriptable scope,
int operation,
Object state,
Object value)
Resume execution of a suspended generator.
|
void |
ScriptableObject.setAttributes(int index,
Scriptable start,
int attributes)
Deprecated.
Use
ScriptableObject.setAttributes(int index, int attributes).
The engine always ignored the start argument. |
void |
ScriptableObject.setAttributes(String name,
Scriptable start,
int attributes)
Deprecated.
Use
ScriptableObject.setAttributes(String name, int attributes).
The engine always ignored the start argument. |
static Object |
ScriptRuntime.setConst(Scriptable bound,
Object value,
Context cx,
String id) |
void |
Delegator.setDelegee(Scriptable obj)
Set the delegee.
|
static void |
ScriptRuntime.setFunctionProtoAndParent(BaseFunction fn,
Scriptable scope) |
static Object |
ScriptRuntime.setName(Scriptable bound,
Object value,
Context cx,
Scriptable scope,
String id) |
static Object |
ScriptRuntime.setObjectElem(Scriptable obj,
Object elem,
Object value,
Context cx) |
static Object |
ScriptRuntime.setObjectIndex(Scriptable obj,
int index,
Object value,
Context cx) |
static Object |
ScriptRuntime.setObjectProp(Scriptable obj,
String property,
Object value,
Context cx) |
static void |
ScriptRuntime.setObjectProtoAndParent(ScriptableObject object,
Scriptable scope) |
void |
Delegator.setParentScope(Scriptable parent) |
void |
NativeJavaObject.setParentScope(Scriptable m)
Sets the parent (enclosing) scope of the object.
|
void |
NativeWith.setParentScope(Scriptable parent) |
void |
Scriptable.setParentScope(Scriptable parent)
Set the parent scope of the object.
|
void |
ScriptableObject.setParentScope(Scriptable m)
Sets the parent (enclosing) scope of the object.
|
void |
Delegator.setPrototype(Scriptable prototype) |
void |
NativeJavaObject.setPrototype(Scriptable m)
Sets the prototype of the object.
|
void |
NativeWith.setPrototype(Scriptable prototype) |
void |
Scriptable.setPrototype(Scriptable prototype)
Set the prototype of the object.
|
void |
ScriptableObject.setPrototype(Scriptable m)
Sets the prototype of the object.
|
static Scriptable |
ScriptRuntime.toIterator(Context cx,
Scriptable scope,
Scriptable obj,
boolean keyOnly) |
static Scriptable |
ScriptRuntime.toObject(Context cx,
Scriptable scope,
Object val)
Convert the value to an object.
|
static Scriptable |
ScriptRuntime.toObject(Context cx,
Scriptable scope,
Object val,
Class<?> staticClass)
Deprecated.
Use
ScriptRuntime.toObject(Context, Scriptable, Object) instead. |
static Scriptable |
Context.toObject(Object value,
Scriptable scope)
Convert the value to an JavaScript object value.
|
static Scriptable |
Context.toObject(Object value,
Scriptable scope,
Class<?> staticType)
Deprecated.
|
static Scriptable |
ScriptRuntime.toObject(Scriptable scope,
Object val) |
static Scriptable |
ScriptRuntime.toObject(Scriptable scope,
Object val,
Class<?> staticClass)
Deprecated.
Use
ScriptRuntime.toObject(Scriptable, Object) instead. |
static Scriptable |
ScriptRuntime.toObjectOrNull(Context cx,
Object obj,
Scriptable scope) |
static String |
ScriptRuntime.typeofName(Scriptable scope,
String id)
The typeof operator that correctly handles the undefined case
|
static Object |
ScriptRuntime.updateDotQuery(boolean value,
Scriptable scope) |
Object |
WrapFactory.wrap(Context cx,
Scriptable scope,
Object obj,
Class<?> staticType)
Wrap the object.
|
static NativeJavaArray |
NativeJavaArray.wrap(Scriptable scope,
Object array) |
static Object |
NativeJavaObject.wrap(Scriptable scope,
Object obj,
Class<?> staticType)
Deprecated.
Use
Context.getWrapFactory() together with calling WrapFactory.wrap(Context, Scriptable, Object, Class) |
Scriptable |
WrapFactory.wrapAsJavaObject(Context cx,
Scriptable scope,
Object javaObject,
Class<?> staticType)
Wrap Java object as Scriptable instance to allow full access to its
methods and fields from JavaScript.
|
Scriptable |
WrapFactory.wrapNewObject(Context cx,
Scriptable scope,
Object obj)
Wrap an object newly created by a constructor call.
|
Scriptable |
RegExpProxy.wrapRegExp(Context cx,
Scriptable scope,
Object compiled) |
| Constructor and Description |
|---|
BaseFunction(Scriptable scope,
Scriptable prototype) |
Delegator(Scriptable obj)
Create a new Delegator that forwards requests to a delegee
Scriptable object.
|
EcmaError(Scriptable nativeError,
String sourceName,
int lineNumber,
int columnNumber,
String lineSource)
Deprecated.
EcmaError error instances should not be constructed
explicitly since they are generated by the engine.
|
FunctionObject(String name,
Member methodOrConstructor,
Scriptable scope)
Create a JavaScript function object from a Java method.
|
IdFunctionObject(IdFunctionCall idcall,
Object tag,
int id,
String name,
int arity,
Scriptable scope) |
IdScriptableObject(Scriptable scope,
Scriptable prototype) |
NativeGenerator(Scriptable scope,
NativeFunction function,
Object savedState) |
NativeJavaArray(Scriptable scope,
Object array) |
NativeJavaClass(Scriptable scope,
Class<?> cl) |
NativeJavaObject(Scriptable scope,
Object javaObject,
Class<?> staticType) |
NativeJavaObject(Scriptable scope,
Object javaObject,
Class<?> staticType,
boolean isAdapter) |
NativeWith(Scriptable parent,
Scriptable prototype) |
ScriptableObject(Scriptable scope,
Scriptable prototype) |
Synchronizer(Scriptable obj)
Create a new synchronized function from an existing one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DebugFrame.onEnter(Context cx,
Scriptable activation,
Scriptable thisObj,
Object[] args)
Called when execution is ready to start bytecode interpretation for entered a particular function or script.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
VMBridge_jdk13.newInterfaceProxy(Object proxyHelper,
ContextFactory cf,
InterfaceAdapter adapter,
Object target,
Scriptable topScope) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<?> |
VMBridge_jdk15.getJavaIterator(Context cx,
Scriptable scope,
Object obj)
If "obj" is a java.util.Iterator or a java.lang.Iterable, return a
wrapping as a JavaScript Iterator.
|
| Modifier and Type | Field and Description |
|---|---|
Scriptable |
OptRuntime.GeneratorState.thisObj |
| Modifier and Type | Method and Description |
|---|---|
static Scriptable |
OptRuntime.createNativeGenerator(NativeFunction funObj,
Scriptable scope,
Scriptable thisObj,
int maxLocals,
int maxStack) |
static Scriptable |
OptRuntime.newArrayLiteral(Object[] objects,
String encodedInts,
int skipCount,
Context cx,
Scriptable scope) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
OptRuntime.call0(Callable fun,
Scriptable thisObj,
Context cx,
Scriptable scope)
Implement ....() call shrinking optimizer code.
|
static Object |
OptRuntime.call1(Callable fun,
Scriptable thisObj,
Object arg0,
Context cx,
Scriptable scope)
Implement ....(arg) call shrinking optimizer code.
|
static Object |
OptRuntime.call2(Callable fun,
Scriptable thisObj,
Object arg0,
Object arg1,
Context cx,
Scriptable scope)
Implement ....(arg0, arg1) call shrinking optimizer code.
|
static Object |
OptRuntime.callN(Callable fun,
Scriptable thisObj,
Object[] args,
Context cx,
Scriptable scope)
Implement ....(arg0, arg1, ...) call shrinking optimizer code.
|
static Object |
OptRuntime.callName(Object[] args,
String name,
Context cx,
Scriptable scope)
Implement name(args) call shrinking optimizer code.
|
static Object |
OptRuntime.callName0(String name,
Context cx,
Scriptable scope)
Implement name() call shrinking optimizer code.
|
static Object |
OptRuntime.callProp0(Object value,
String property,
Context cx,
Scriptable scope)
Implement x.property() call shrinking optimizer code.
|
static Object |
OptRuntime.callSpecial(Context cx,
Callable fun,
Scriptable thisObj,
Object[] args,
Scriptable scope,
Scriptable callerThis,
int callType,
String fileName,
int lineNumber) |
Function |
Codegen.createFunctionObject(Context cx,
Scriptable scope,
Object bytecode,
Object staticSecurityDomain) |
static Scriptable |
OptRuntime.createNativeGenerator(NativeFunction funObj,
Scriptable scope,
Scriptable thisObj,
int maxLocals,
int maxStack) |
static void |
OptRuntime.initFunction(NativeFunction fn,
int functionType,
Scriptable scope,
Context cx) |
static Scriptable |
OptRuntime.newArrayLiteral(Object[] objects,
String encodedInts,
int skipCount,
Context cx,
Scriptable scope) |
static Object |
OptRuntime.newObjectSpecial(Context cx,
Object fun,
Object[] args,
Scriptable scope,
Scriptable callerThis,
int callType) |
| Modifier and Type | Class and Description |
|---|---|
class |
NativeRegExp
This class implements the RegExp native object.
|
| Modifier and Type | Method and Description |
|---|---|
Scriptable |
NativeRegExp.construct(Context cx,
Scriptable scope,
Object[] args) |
Scriptable |
RegExpImpl.wrapRegExp(Context cx,
Scriptable scope,
Object compiled) |
| Modifier and Type | Method and Description |
|---|---|
Object |
RegExpImpl.action(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args,
int actionType) |
Object |
NativeRegExp.call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
Scriptable |
NativeRegExp.construct(Context cx,
Scriptable scope,
Object[] args) |
Object |
NativeRegExp.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args) |
int |
RegExpImpl.find_split(Context cx,
Scriptable scope,
String target,
String separator,
Scriptable reObj,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp) |
static void |
NativeRegExp.init(Context cx,
Scriptable scope,
boolean sealed) |
boolean |
RegExpImpl.isRegExp(Scriptable obj) |
Scriptable |
RegExpImpl.wrapRegExp(Context cx,
Scriptable scope,
Object compiled) |
| Constructor and Description |
|---|
ScriptableInputStream(InputStream in,
Scriptable scope)
Create a ScriptableInputStream.
|
ScriptableOutputStream(OutputStream out,
Scriptable scope)
ScriptableOutputStream constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XMLObject
This Interface describes what all XML objects (XML, XMLList) should have in common.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Scriptable |
XMLObject.getExtraMethodSource(Context cx)
Return an additional object to look for methods that runtime should
consider during method search.
|
| Modifier and Type | Method and Description |
|---|---|
protected XMLLib |
XMLLib.bindToScope(Scriptable scope) |
abstract NativeWith |
XMLObject.enterDotQuery(Scriptable scope)
Wrap this object into NativeWith to implement the .() query.
|
abstract NativeWith |
XMLObject.enterWith(Scriptable scope)
Wrap this object into NativeWith to implement the with statement.
|
static XMLLib |
XMLLib.extractFromScope(Scriptable scope) |
static XMLLib |
XMLLib.extractFromScopeOrNull(Scriptable scope) |
abstract Ref |
XMLLib.nameRef(Context cx,
Object namespace,
Object name,
Scriptable scope,
int memberTypeFlags) |
abstract Ref |
XMLLib.nameRef(Context cx,
Object name,
Scriptable scope,
int memberTypeFlags) |
| Constructor and Description |
|---|
XMLObject(Scriptable scope,
Scriptable prototype) |
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.