org.w3c.tidy
Class DOMNodeListByTagNameImpl

java.lang.Object
  |
  +--org.w3c.tidy.DOMNodeListByTagNameImpl
All Implemented Interfaces:
org.w3c.dom.NodeList

public class DOMNodeListByTagNameImpl
extends java.lang.Object
implements org.w3c.dom.NodeList

The items in the NodeList are accessible via an integral index, starting from 0.


Constructor Summary
protected DOMNodeListByTagNameImpl(Node first, java.lang.String tagName)
           
 
Method Summary
 int getLength()
           
 org.w3c.dom.Node item(int index)
           
protected  void preTraverse(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMNodeListByTagNameImpl

protected DOMNodeListByTagNameImpl(Node first,
                                   java.lang.String tagName)
Method Detail

item

public org.w3c.dom.Node item(int index)
Specified by:
item in interface org.w3c.dom.NodeList
See Also:
NodeList.item(int)

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.NodeList
See Also:
NodeList.getLength()

preTraverse

protected void preTraverse(Node node)