|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.NodeList<T>
public class NodeList<T extends Node>
List of nodes.
Constructor Summary | |
---|---|
NodeList(Iterable<T> ns)
Constructs a new NodeList . |
Method Summary | |
---|---|
XML |
concat()
Concatenates the list of nodes into an XML template. |
T |
get(int index)
Returns the node at the given index. |
boolean |
isEmpty()
Checks whether the list is empty. |
Iterator<T> |
iterator()
Returns a list iterator. |
int |
size()
Returns the size of the list. |
String |
toString()
Returns a description of the nodes in this list. |
XML |
toXML()
Concatenates the list of nodes into an XML template. |
void |
visitBy(NodeVisitor v)
Visits each node in the list by the given visitor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeList(Iterable<T> ns)
NodeList
.
XML.get(String)
Method Detail |
---|
public XML concat()
public T get(int index)
public boolean isEmpty()
public Iterator<T> iterator()
iterator
in interface Iterable<T extends Node>
public int size()
public String toString()
toString
in class Object
public XML toXML()
public final void visitBy(NodeVisitor v)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |