org.codehaus.cargo.module.webapp
Class TagNodeList

java.lang.Object
  extended by org.codehaus.cargo.module.internal.util.xml.AbstractNodeList
      extended by org.codehaus.cargo.module.webapp.TagNodeList
All Implemented Interfaces:
org.w3c.dom.NodeList

public class TagNodeList
extends AbstractNodeList

TagNodeList is a nodelist constructed from a known tag and creates wrapped nodes of a particular class automatically.

Version:
$Id $

Field Summary
 
Fields inherited from class org.codehaus.cargo.module.internal.util.xml.AbstractNodeList
nodeList, rootElement
 
Constructor Summary
TagNodeList(org.w3c.dom.Element rootElement, DescriptorTag tag, java.lang.Class clazz)
           
 
Method Summary
 org.w3c.dom.Node item(int index)
          
 
Methods inherited from class org.codehaus.cargo.module.internal.util.xml.AbstractNodeList
add, getByElementId, getLength, iterator, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagNodeList

public TagNodeList(org.w3c.dom.Element rootElement,
                   DescriptorTag tag,
                   java.lang.Class clazz)
Parameters:
rootElement - the root element for the node list
tag - the tag we are looking for
clazz - the class of abstractelement wrapper to construct
Method Detail

item

public org.w3c.dom.Node item(int index)

Specified by:
item in interface org.w3c.dom.NodeList
Specified by:
item in class AbstractNodeList
See Also:
NodeList.item(int)


Copyright © 2004-2011 Codehaus. All Rights Reserved.