org.xiruss.util
Class ElementNodeList
java.lang.Object
org.xiruss.util.ElementNodeList
public class ElementNodeList
- extends java.lang.Object
Convenience class for creating node lists of elements
Field Summary |
(package private) java.util.Vector |
nodes
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodes
java.util.Vector nodes
ElementNodeList
public ElementNodeList(org.w3c.dom.NodeList w3cnl)
- Construct an ElementNodeList from a w3c NodeList.
Note that the resulting nodelist is mutable.
- Parameters:
w3cnl
- org.w3c.com.NodeList instance
ElementNodeList
public ElementNodeList()
add
public void add(org.w3c.dom.Element elem)
add
public void add(org.w3c.dom.Node node)
item
public org.w3c.dom.Element item(int index)
iterator
public ElementIterator iterator()
size
public int size()
getLength
public int getLength()