org.apache.batik.dom.util
Class ListNodeList

java.lang.Object
  extended by org.apache.batik.dom.util.ListNodeList
All Implemented Interfaces:
NodeList

public class ListNodeList
extends Object
implements NodeList

A simple class that implements the DOM NodeList interface by wrapping an Java List instace.


Field Summary
protected  List list
           
 
Constructor Summary
ListNodeList(List list)
           
 
Method Summary
 int getLength()
          DOM: Implements NodeList.getLength().
 Node item(int index)
          DOM: Implements NodeList.item(int).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

protected List list
Constructor Detail

ListNodeList

public ListNodeList(List list)
Method Detail

item

public Node item(int index)
DOM: Implements NodeList.item(int).

Specified by:
item in interface NodeList

getLength

public int getLength()
DOM: Implements NodeList.getLength().

Specified by:
getLength in interface NodeList


Copyright © 2008 Apache Software Foundation. All Rights Reserved.