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)
|
Object get , Object get , Object getDefaultValue , String getClassName , String toString , boolean equals , boolean has , boolean has , int hashCode , void put , void put |
associateValue , avoidObjectDetection , callMethod , callMethod , defineConst , defineConstProperty , defineFunctionProperties , defineProperty , defineProperty , defineProperty , defineProperty , delete , delete , deleteProperty , deleteProperty , equivalentValues , extends Scriptable> String defineClass , extends Scriptable> void defineClass , extends Scriptable> void defineClass , 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 , isGetterOrSetter , isSealed , put , put , putConst , putConstProperty , putProperty , putProperty , redefineProperty , sealObject , setAttributes , setAttributes , setAttributes , setAttributes , setGetterOrSetter , setParentScope , setPrototype |