org.apache.velocity.anakia
public class TreeWalker extends Object
element.selectNodes("//*")
.
Version: $Id: TreeWalker.java,v 1.6.4.1 2004/03/03 23:22:04 geirm Exp $
Constructor Summary | |
---|---|
TreeWalker()
Empty constructor |
Method Summary | |
---|---|
NodeList | allElements(Element e)
Creates a new Vector and walks the Element tree.
|
void | treeWalk(Element e, Collection theElements)
A recursive method to walk the Element tree. |
Parameters: Element the starting Element node
Returns: Vector a vector of Element nodes
Parameters: Element the current Element