at.gv.egovernment.moa.util
Class NodeListAdapter

java.lang.Object
  |
  +--at.gv.egovernment.moa.util.NodeListAdapter
All Implemented Interfaces:
org.w3c.dom.NodeList

public class NodeListAdapter
extends Object
implements org.w3c.dom.NodeList

A NodeList implementation based on a List.

Version:
$Id$
Author:
Patrick Peck
See Also:
List, NodeList

Constructor Summary
NodeListAdapter(List nodeList)
          Create a new NodeListAdapter.
 
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
 

Constructor Detail

NodeListAdapter

public NodeListAdapter(List nodeList)
Create a new NodeListAdapter.
Parameters:
nodeList - The List containing the nodes.
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()