public static class NativeModule.ModuleImpl
extends org.mozilla.javascript.ScriptableObject
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
| Constructor and Description |
|---|
NativeModule.ModuleImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName() |
org.mozilla.javascript.Scriptable |
getExports() |
String |
getFileName() |
String |
getId() |
boolean |
isLoaded() |
static NativeModule.ModuleImpl |
newModule(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
String id,
String fileName) |
void |
setExports(org.mozilla.javascript.Scriptable exports) |
void |
setFileName(String fileName) |
void |
setId(String id) |
void |
setLoaded(boolean loaded) |
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, getDefaultValue, getExternalArrayData, getExternalArrayLength, 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, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final String CLASS_NAME
public static NativeModule.ModuleImpl newModule(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, String id, String fileName)
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObject@JSGetter(value="fileName") public String getFileName()
@JSSetter(value="fileName") public void setFileName(String fileName)
@JSGetter(value="id") public String getId()
@JSSetter(value="id") public void setId(String id)
@JSGetter(value="exports") public org.mozilla.javascript.Scriptable getExports()
@JSSetter(value="exports") public void setExports(org.mozilla.javascript.Scriptable exports)
@JSGetter(value="loaded") public boolean isLoaded()
@JSSetter(value="loaded") public void setLoaded(boolean loaded)
Copyright © 2016 Apigee Corporation. All Rights Reserved.