org.mozilla.javascript
Class NativeJavaPackage
- ConstProperties, DebuggableObject, Scriptable, Serializable
public class NativeJavaPackage
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).
NativeJavaPackage(String packageName) - NativeJavaPackage is an internal class, do not use
it directly.
|
NativeJavaPackage(String packageName, ClassLoader classLoader) - NativeJavaPackage is an internal class, do not use
it directly.
|
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 |
NativeJavaPackage
public NativeJavaPackage(String packageName)
NativeJavaPackage is an internal class, do not use
it directly.
NativeJavaPackage
public NativeJavaPackage(String packageName,
ClassLoader classLoader)
NativeJavaPackage is an internal class, do not use
it directly.
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
toString
public String toString()