org.translet.processor
Interface DataIterator
- public interface DataIterator
Iterator over a collection of xpaths and
the corresponding value. The xpath collection
is an ordered collection.
- Author:
- Karthikeyan Mariappan.
Method Summary |
boolean |
hasNext()
Returns true if the iterator has more
xpaths to be processed. |
XPathExpr |
nextXPath()
Returns next xpath in the interation. |
hasNext
public boolean hasNext()
- Returns true if the iterator has more
xpaths to be processed.
- Returns:
- true if the iterator has more elements.
nextXPath
public XPathExpr nextXPath()
- Returns next xpath in the interation.
- Returns:
- XPathExpr that holds xpath statement
and it's value.
- Throws:
NoSuchElementException
- If there is no
more entry.