org.apache.velocity.tools.generic
Class XmlTool.NodeIterator

java.lang.Object
  extended by org.apache.velocity.tools.generic.XmlTool.NodeIterator
All Implemented Interfaces:
Iterator<XmlTool>
Enclosing class:
XmlTool

public static class XmlTool.NodeIterator
extends Object
implements Iterator<XmlTool>

Iterator implementation that wraps a Node list iterator to return new XmlTool instances for each item in the wrapped iterator.s


Constructor Summary
XmlTool.NodeIterator(Iterator<org.dom4j.Node> i)
           
 
Method Summary
 boolean hasNext()
           
 XmlTool next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlTool.NodeIterator

public XmlTool.NodeIterator(Iterator<org.dom4j.Node> i)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<XmlTool>

next

public XmlTool next()
Specified by:
next in interface Iterator<XmlTool>

remove

public void remove()
Specified by:
remove in interface Iterator<XmlTool>


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.