martin.common.xml
Class MyNodeList

java.lang.Object
  extended by martin.common.xml.MyNodeList
All Implemented Interfaces:
java.lang.Iterable<org.w3c.dom.Node>, org.w3c.dom.NodeList

public class MyNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList, java.lang.Iterable<org.w3c.dom.Node>


Field Summary
private  java.util.List<org.w3c.dom.Node> list
           
 
Constructor Summary
MyNodeList(java.util.List<org.w3c.dom.Node> list)
           
MyNodeList(org.w3c.dom.NodeList childNodes)
           
 
Method Summary
 int getLength()
           
 org.w3c.dom.Node item(int index)
           
 java.util.Iterator<org.w3c.dom.Node> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

private java.util.List<org.w3c.dom.Node> list
Constructor Detail

MyNodeList

public MyNodeList(java.util.List<org.w3c.dom.Node> list)

MyNodeList

public MyNodeList(org.w3c.dom.NodeList childNodes)
Method Detail

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.NodeList

item

public org.w3c.dom.Node item(int index)
Specified by:
item in interface org.w3c.dom.NodeList

iterator

public java.util.Iterator<org.w3c.dom.Node> iterator()
Specified by:
iterator in interface java.lang.Iterable<org.w3c.dom.Node>