ice.pilots.html4
Class DChildrenList

java.lang.Object
  extended byice.storm.DynamicObject
      extended byice.storm.DynamicList
          extended byice.pilots.html4.DChildrenList
All Implemented Interfaces:
NodeList

public class DChildrenList
extends DynamicList
implements NodeList


Field Summary
 
Fields inherited from class ice.storm.DynamicObject
NOT_FOUND, SETD_IGNORE, SETD_NOT_FOUND, SETD_OK
 
Constructor Summary
protected DChildrenList(DNode parent)
           
protected DChildrenList(DNode parent, String tagName)
           
 
Method Summary
 int getLength()
          The number of nodes in the list.
 Node item(int idx)
          Returns the indexth item in the collection.
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
protected  Object script_tags(String tagName, DynEnv env)
           
 
Methods inherited from class ice.storm.DynamicList
execDynamicMethod, getDynamicValue, getEnumeratableIds, getMethodPropertySource, getSlot, getSlot, setDynamicValue
 
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
 

Constructor Detail

DChildrenList

protected DChildrenList(DNode parent)

DChildrenList

protected DChildrenList(DNode parent,
                        String tagName)
Method Detail

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

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

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