public class NativeGlobal extends java.lang.Object implements java.io.Serializable, IdFunctionCall
Constructor and Description |
---|
NativeGlobal() |
Modifier and Type | Method and Description |
---|---|
static EcmaError |
constructError(Context cx,
java.lang.String error,
java.lang.String message,
Scriptable scope)
Deprecated.
Use
ScriptRuntime.constructError(String,String)
instead. |
static EcmaError |
constructError(Context cx,
java.lang.String error,
java.lang.String message,
Scriptable scope,
java.lang.String sourceName,
int lineNumber,
int columnNumber,
java.lang.String lineSource)
Deprecated.
|
java.lang.Object |
execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args)
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned
|
static void |
init(Context cx,
Scriptable scope,
boolean sealed) |
public static void init(Context cx, Scriptable scope, boolean sealed)
public java.lang.Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
IdFunctionCall
execIdCall
in interface IdFunctionCall
@Deprecated public static EcmaError constructError(Context cx, java.lang.String error, java.lang.String message, Scriptable scope)
ScriptRuntime.constructError(String,String)
instead.@Deprecated public static EcmaError constructError(Context cx, java.lang.String error, java.lang.String message, Scriptable scope, java.lang.String sourceName, int lineNumber, int columnNumber, java.lang.String lineSource)
ScriptRuntime.constructError(String,String,String,int,String,int)
instead.Copyright © 2010 - 2020 Adobe. All Rights Reserved