org.mozilla.javascript
Class NativeJavaTopPackage
- Callable, ConstProperties, DebuggableObject, Function, IdFunctionCall, Scriptable, Serializable
public class NativeJavaTopPackage
This class reflects Java packages into the JavaScript environment. We
lazily reflect classes and subpackages, and use a caching/sharing
system to ensure that members reflected into one JavaPackage appear
in all other references to the same package (as with Packages.java.lang
and java.lang).
Object | call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
|
Scriptable | construct(Context cx, Scriptable scope, Object[] args)
|
Object | 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
|
static void | init(Context cx, Scriptable scope, boolean sealed)
|
equals, get, get, getClassName, getDefaultValue, has, has, hashCode, put, put, toString |
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |