ice.pilots.html4
Class DNodeList
java.lang.Object
ice.storm.DynamicObject
ice.storm.DynamicList
ice.pilots.html4.DNodeList
- All Implemented Interfaces:
- HTMLCollection, NodeList
- public class DNodeList
- extends DynamicList
- implements NodeList, HTMLCollection
| 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 |
ALL
public static final String ALL
- See Also:
- Constant Field Values
LINKS
public static final String LINKS
- See Also:
- Constant Field Values
item
public Node item(int idx)
- Description copied from interface:
NodeList
- Returns the
indexth item in the collection. If
index is greater than or equal to the number of nodes in
the list, this returns null.
- Specified by:
item in interface NodeList
- Returns:
- The node at the
indexth position in the
NodeList, or null if that is not a valid
index.
script_item
protected Object script_item(int index,
DynEnv env)
- Description copied from class:
DynamicList
- Returns null if not found
- Specified by:
script_item in class DynamicList
getLength
public int getLength()
- Description copied from interface:
NodeList
- The number of nodes in the list. The range of valid child node indices
is 0 to
length-1 inclusive.
- Specified by:
getLength in interface NodeList- Specified by:
getLength in class DynamicList
namedItem
public Node namedItem(String name)
- Description copied from interface:
HTMLCollection
- This method retrieves a
Node using a name. It first
searches for a Node with a matching id
attribute. If it doesn't find one, it then searches for a
Node with a matching name attribute, but
only on those elements that are allowed a name attribute.
- Specified by:
namedItem in interface HTMLCollection
- Returns:
- The
Node with a name or
id attribute whose value corresponds to the specified
string. Upon failure (e.g., no node with this name exists), returns
null.
script_namedItem
protected Object script_namedItem(String name,
DynEnv env)
- Description copied from class:
DynamicList
- Returns null if not found
- Specified by:
script_namedItem in class DynamicList
script_tags
protected Object script_tags(String tagName,
DynEnv env)
- Overrides:
script_tags in class DynamicList