Class NodeList

java.lang.Object
org.apache.velocity.anakia.NodeList
All Implemented Interfaces:
Cloneable, Iterable, Collection, List

public class NodeList extends Object implements List, Cloneable
Provides a class for wrapping a list of JDOM objects primarily for use in template engines and other kinds of text transformation tools. It has a toString() method that will output the XML serialized form of the nodes it contains - again focusing on template engine usage, as well as the selectNodes(String) method that helps selecting a different set of nodes starting from the nodes in this list. The class also implements the List interface by simply delegating calls to the contained list (the subList(int, int) method is implemented by delegating to the contained list and wrapping the returned sublist into a NodeList).
Version:
$Id: NodeList.java 463298 2006-10-12 16:10:32Z henning $
Author:
Attila Szegedi