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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeListAdapter
public NodeListAdapter(List nodeList)
- Create a new
NodeListAdapter
.
- Parameters:
nodeList
- The List
containing the nodes.
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()