|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.storm.DynamicObject
ice.storm.DynamicList
ice.pilots.html4.DAttrMap
| Field Summary | |
protected DElement |
element
|
| Fields inherited from class ice.storm.DynamicObject |
NOT_FOUND, SETD_IGNORE, SETD_NOT_FOUND, SETD_OK |
| Constructor Summary | |
protected |
DAttrMap(DElement element)
|
| Method Summary | |
Object |
execDynamicMethod(String name,
Object[] args,
DynEnv env)
Perform function-like actions for `name' with the given args. |
Object |
getDynamicValue(String name,
DynEnv env)
Returns the `key' field or Defs.NOT_FOUND if `name' does not exist. |
int |
getLength()
The number of nodes in this map. |
Node |
getNamedItem(String name)
Retrieves a node specified by name. |
Node |
getNamedItemNS(String namespaceURI,
String localName)
Retrieves a node specified by local name and namespace URI. |
Node |
item(int index)
Returns the indexth item in the map. |
Node |
removeNamedItem(String name)
Removes a node specified by name. |
Node |
removeNamedItemNS(String namespaceURI,
String localName)
Removes a node specified by local name and namespace URI. |
protected Object |
script_item(int index,
DynEnv env)
Returns null if not found |
protected Object |
script_namedItem(String name,
DynEnv env)
Returns null if not found |
int |
setDynamicValue(String name,
Object value,
DynEnv env)
Set field `name' to `value'. |
Node |
setNamedItem(Node n)
Adds a node using its nodeName attribute. |
Node |
setNamedItemNS(Node arg)
Adds a node using its namespaceURI and
localName. |
| Methods inherited from class ice.storm.DynamicList |
getEnumeratableIds, getMethodPropertySource, getSlot, getSlot, script_tags |
| Methods inherited from class ice.storm.DynamicObject |
deleteSlot, deleteSlot, getDynamicScopeParent, getScriptDataLock, getScriptWrapper, hasSlot, hasSlot, javaReflectionTarget, readOnlySlots, script_toSource, script_toString, setScriptWrapperIfAbsent, setSlot, setSlot, unlinkAllSlots |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DElement element
| Constructor Detail |
protected DAttrMap(DElement element)
| Method Detail |
public Node getNamedItem(String name)
NamedNodeMap
getNamedItem in interface NamedNodeMapNode (of any type) with the specified
nodeName, or null if it does not identify
any node in this map.public Node setNamedItem(Node n)
NamedNodeMapnodeName attribute. If a node with
that name is already present in this map, it is replaced by the new
one.
nodeName attribute is used to derive the name
which the node must be stored under, multiple nodes of certain types
(those that have a "special" string value) cannot be stored as the
names would clash. This is seen as preferable to allowing nodes to be
aliased.
setNamedItem in interface NamedNodeMapNode replaces an existing node the
replaced Node is returned, otherwise null
is returned.public Node removeNamedItem(String name)
NamedNodeMap
removeNamedItem in interface NamedNodeMappublic Node item(int index)
NamedNodeMapindexth item in the map. If index
is greater than or equal to the number of nodes in this map, this
returns null.
item in interface NamedNodeMapindexth position in the map, or
null if that is not a valid index.
protected Object script_item(int index,
DynEnv env)
DynamicList
script_item in class DynamicList
protected Object script_namedItem(String name,
DynEnv env)
DynamicList
script_namedItem in class DynamicListpublic int getLength()
NamedNodeMap0 to length-1 inclusive.
getLength in interface NamedNodeMapgetLength in class DynamicList
public Node getNamedItemNS(String namespaceURI,
String localName)
NamedNodeMap
getNamedItemNS in interface NamedNodeMapNode (of any type) with the specified local
name and namespace URI, or null if they do not
identify any node in this map.public Node setNamedItemNS(Node arg)
NamedNodeMapnamespaceURI and
localName. If a node with that namespace URI and that
local name is already present in this map, it is replaced by the new
one.
setNamedItemNS in interface NamedNodeMapNode replaces an existing node the
replaced Node is returned, otherwise null
is returned.
public Node removeNamedItemNS(String namespaceURI,
String localName)
NamedNodeMapNode interface. If so, an attribute
immediately appears containing the default value as well as the
corresponding namespace URI, local name, and prefix when applicable.
removeNamedItemNS in interface NamedNodeMap
public Object getDynamicValue(String name,
DynEnv env)
DynamicObject
getDynamicValue in class DynamicList
public int setDynamicValue(String name,
Object value,
DynEnv env)
DynamicObject
setDynamicValue in class DynamicList
public Object execDynamicMethod(String name,
Object[] args,
DynEnv env)
DynamicObject
execDynamicMethod in class DynamicList
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||