org.xiruss.util.xpointer
Class MutableNodeList

java.lang.Object
  extended by org.xiruss.util.xpointer.MutableNodeList
All Implemented Interfaces:
org.w3c.dom.NodeList

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

A mutable node list used to return results from addressing operations.


Field Summary
(package private)  java.util.Vector nodes
           
 
Constructor Summary
MutableNodeList()
           
MutableNodeList(java.util.Collection list)
           
 
Method Summary
 void add(org.w3c.dom.Node node)
           
 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
 

Field Detail

nodes

java.util.Vector nodes
Constructor Detail

MutableNodeList

public MutableNodeList(java.util.Collection list)

MutableNodeList

public MutableNodeList()
Method Detail

add

public void add(org.w3c.dom.Node node)

item

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

getLength

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