public class JavaConstructorObject
extends org.mozilla.javascript.ScriptableObject
implements org.mozilla.javascript.Function
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaConstructorObject.SimpleInstantiator |
| Constructor and Description |
|---|
JavaConstructorObject(java.lang.String name,
JavaClassWrapper classWrapper) |
JavaConstructorObject(java.lang.String name,
JavaClassWrapper classWrapper,
JavaInstantiator instantiator) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
call(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args) |
org.mozilla.javascript.Scriptable |
construct(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
java.lang.Object[] args) |
java.lang.String |
getClassName() |
java.lang.Object |
getDefaultValue(java.lang.Class hint) |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, sizepublic JavaConstructorObject(java.lang.String name,
JavaClassWrapper classWrapper)
public JavaConstructorObject(java.lang.String name,
JavaClassWrapper classWrapper,
JavaInstantiator instantiator)
public java.lang.String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic java.lang.Object call(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args)
call in interface org.mozilla.javascript.Callablecall in interface org.mozilla.javascript.Functionpublic org.mozilla.javascript.Scriptable construct(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
java.lang.Object[] args)
construct in interface org.mozilla.javascript.Functionpublic java.lang.Object getDefaultValue(java.lang.Class hint)
getDefaultValue in interface org.mozilla.javascript.ScriptablegetDefaultValue in class org.mozilla.javascript.ScriptableObject