|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.htmlunit.corejs.javascript.ScriptableObject
org.mozilla.javascript.tools.shell.Environment
public class Environment
Environment, intended to be instantiated at global scope, provides a natural way to access System properties from JavaScript.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
|---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
| Fields inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
|---|
NOT_FOUND |
| Constructor Summary | |
|---|---|
Environment()
|
|
Environment(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject scope)
|
|
| Method Summary | |
|---|---|
static void |
defineClass(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject scope)
|
java.lang.Object |
get(java.lang.String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
|
java.lang.Object[] |
getAllIds()
|
java.lang.String |
getClassName()
|
java.lang.Object[] |
getIds()
|
boolean |
has(java.lang.String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
|
void |
put(java.lang.String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start,
java.lang.Object value)
|
| Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
|---|
associateValue, avoidObjectDetection, callMethod, callMethod, clear, containsKey, containsValue, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, entrySet, equivalentValues, get, get, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypeOf, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isGenericDescriptor, isGetterOrSetter, isSealed, keySet, preventExtensions, put, put, putAll, putConst, putConstProperty, putProperty, putProperty, redefineProperty, remove, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public Environment()
public Environment(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject scope)
| Method Detail |
|---|
public static void defineClass(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject scope)
public java.lang.String getClassName()
getClassName in interface net.sourceforge.htmlunit.corejs.javascript.ScriptablegetClassName in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public boolean has(java.lang.String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
has in interface net.sourceforge.htmlunit.corejs.javascript.Scriptablehas in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public java.lang.Object get(java.lang.String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
get in interface net.sourceforge.htmlunit.corejs.javascript.Scriptableget in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public void put(java.lang.String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start,
java.lang.Object value)
put in interface net.sourceforge.htmlunit.corejs.javascript.Scriptableput in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObjectpublic java.lang.Object[] getIds()
getIds in interface net.sourceforge.htmlunit.corejs.javascript.ScriptablegetIds in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObjectpublic java.lang.Object[] getAllIds()
getAllIds in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableObjectgetAllIds in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||