|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.xml.NodeListImpl
public class NodeListImpl
Generic implementation of a node list.
Constructor Summary | |
---|---|
NodeListImpl()
Creates an empty node list. |
|
NodeListImpl(java.util.Collection<org.w3c.dom.Node> collection)
Creates a node list from a collection. |
Method Summary | |
---|---|
void |
add(org.w3c.dom.Node node)
Adds an item. |
int |
getLength()
Returns the number of items in the list. |
org.w3c.dom.Node |
item(int index)
Returns the item at the index. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeListImpl()
public NodeListImpl(java.util.Collection<org.w3c.dom.Node> collection)
Method Detail |
---|
public void add(org.w3c.dom.Node node)
public org.w3c.dom.Node item(int index)
item
in interface org.w3c.dom.NodeList
public int getLength()
getLength
in interface org.w3c.dom.NodeList
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |