org.w3c.tidy
Class DOMNodeListImpl

java.lang.Object
  extended byorg.w3c.tidy.DOMNodeListImpl
All Implemented Interfaces:
org.w3c.dom.NodeList

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

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

Version:
$Revision: 1.8 $ ($Author: fgiust $)
Author:
Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina

Field Summary
private  Node parent
          Parent Node.
 
Constructor Summary
protected DOMNodeListImpl(Node parent)
          Instantiates a new DOM node list.
 
Method Summary
 int getLength()
           
 org.w3c.dom.Node item(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

private Node parent
Parent Node.

Constructor Detail

DOMNodeListImpl

protected DOMNodeListImpl(Node parent)
Instantiates a new DOM node list.

Parameters:
parent - parent Node
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()