public class NativeJavaConstructor extends BaseFunction
NativeJavaMethod,
NativeJavaPackage,
NativeJavaClass,
Serialized FormCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
NativeJavaConstructor(org.mozilla.javascript.MemberBox ctor) |
| Modifier and Type | Method and Description |
|---|---|
Object |
call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Should be overridden.
|
String |
getFunctionName() |
String |
toString() |
construct, createObject, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, getArity, getClassName, getClassPrototype, getInstanceIdName, getInstanceIdValue, getLength, getMaxInstanceId, hasInstance, initPrototypeId, setImmunePrototypeProperty, setInstanceIdValueactivatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, delete, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributesassociateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdelete, delete, get, get, getDefaultValue, getIds, getParentScope, getPrototype, has, has, put, put, setParentScope, setPrototypepublic NativeJavaConstructor(org.mozilla.javascript.MemberBox ctor)
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
BaseFunctioncall in interface Callablecall in interface Functioncall in class BaseFunctioncx - the current Context for this threadscope - the scope to execute the function relative to. This is
set to the value returned by getParentScope() except
when the function is called from a closure.thisObj - the JavaScript this objectargs - the array of argumentspublic String getFunctionName()
getFunctionName in class BaseFunctionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.