Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mjh.dom
Class DomUtil.NodeListImpl  view DomUtil.NodeListImpl download DomUtil.NodeListImpl.java

java.lang.Object
  extended bycom.mjh.dom.DomUtil.NodeListImpl
All Implemented Interfaces:
org.w3c.dom.NodeList
Enclosing class:
DomUtil

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


Field Summary
private  java.util.ArrayList list
           
 
Constructor Summary
DomUtil.NodeListImpl(java.util.ArrayList al)
           
 
Method Summary
 int getLength()
          The number of nodes in the list.
 org.w3c.dom.Node item(int index)
          Returns the indexth item in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

private java.util.ArrayList list
Constructor Detail

DomUtil.NodeListImpl

public DomUtil.NodeListImpl(java.util.ArrayList al)
Method Detail

getLength

public int getLength()
Description copied from interface: org.w3c.dom.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 org.w3c.dom.NodeList

item

public org.w3c.dom.Node item(int index)
Description copied from interface: org.w3c.dom.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 org.w3c.dom.NodeList