public class NativeNamedList
extends java.lang.Object
implements org.mozilla.javascript.Scriptable
Constructor and Description |
---|
NativeNamedList() |
NativeNamedList(org.mozilla.javascript.Scriptable parent,
java.lang.String[] names,
java.util.HashMap values) |
Modifier and Type | Method and Description |
---|---|
void |
delete(int index) |
void |
delete(java.lang.String name) |
java.lang.Object |
get(int index,
org.mozilla.javascript.Scriptable start) |
java.lang.Object |
get(java.lang.String name,
org.mozilla.javascript.Scriptable start) |
java.lang.String |
getClassName() |
java.lang.Object |
getDefaultValue(java.lang.Class hint) |
java.lang.Object[] |
getIds() |
org.mozilla.javascript.Scriptable |
getParentScope() |
org.mozilla.javascript.Scriptable |
getPrototype() |
boolean |
has(int index,
org.mozilla.javascript.Scriptable start) |
boolean |
has(java.lang.String name,
org.mozilla.javascript.Scriptable start) |
boolean |
hasInstance(org.mozilla.javascript.Scriptable instance) |
void |
put(int index,
org.mozilla.javascript.Scriptable start,
java.lang.Object value) |
void |
put(java.lang.String name,
org.mozilla.javascript.Scriptable start,
java.lang.Object value) |
void |
setParentScope(org.mozilla.javascript.Scriptable parent) |
void |
setPrototype(org.mozilla.javascript.Scriptable prototype) |
public NativeNamedList()
public NativeNamedList(org.mozilla.javascript.Scriptable parent, java.lang.String[] names, java.util.HashMap values)
public java.lang.String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
public java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
public java.lang.Object get(int index, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
public boolean has(java.lang.String name, org.mozilla.javascript.Scriptable start)
has
in interface org.mozilla.javascript.Scriptable
public boolean has(int index, org.mozilla.javascript.Scriptable start)
has
in interface org.mozilla.javascript.Scriptable
public void put(java.lang.String name, org.mozilla.javascript.Scriptable start, java.lang.Object value)
put
in interface org.mozilla.javascript.Scriptable
public void put(int index, org.mozilla.javascript.Scriptable start, java.lang.Object value)
put
in interface org.mozilla.javascript.Scriptable
public void delete(java.lang.String name)
delete
in interface org.mozilla.javascript.Scriptable
public void delete(int index)
delete
in interface org.mozilla.javascript.Scriptable
public org.mozilla.javascript.Scriptable getPrototype()
getPrototype
in interface org.mozilla.javascript.Scriptable
public void setPrototype(org.mozilla.javascript.Scriptable prototype)
setPrototype
in interface org.mozilla.javascript.Scriptable
public org.mozilla.javascript.Scriptable getParentScope()
getParentScope
in interface org.mozilla.javascript.Scriptable
public void setParentScope(org.mozilla.javascript.Scriptable parent)
setParentScope
in interface org.mozilla.javascript.Scriptable
public java.lang.Object[] getIds()
getIds
in interface org.mozilla.javascript.Scriptable
public java.lang.Object getDefaultValue(java.lang.Class hint)
getDefaultValue
in interface org.mozilla.javascript.Scriptable
public boolean hasInstance(org.mozilla.javascript.Scriptable instance)
hasInstance
in interface org.mozilla.javascript.Scriptable
Copyright © 2014 OpenText Corp. All rights reserved.