java.lang.Object
javatools.db.xml.XIterator
- All Implemented Interfaces:
- javatools.db.DbIterator, java.util.Iterator
- public class XIterator
- extends java.lang.Object
- implements javatools.db.DbIterator
|
Constructor Summary |
XIterator(XTable table)
Creates a new instance of XIterator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
table
XTable table
resultIt
java.util.Iterator resultIt
XIterator
public XIterator(XTable table)
- Creates a new instance of XIterator
hasNext
public boolean hasNext()
- Checks if this iterator has a value after the current one.
- Specified by:
hasNext in interface java.util.Iterator
hasNextRow
public boolean hasNextRow()
throws javatools.db.DbException
- Are there more rows to iterator through?
- Specified by:
hasNextRow in interface javatools.db.DbIterator
next
public java.lang.Object next()
- Takes the next object from the iterator.
- Specified by:
next in interface java.util.Iterator
nextRow
public javatools.db.DbRow nextRow()
throws javatools.db.DbException
- Get the next DbRow in the table.
- Specified by:
nextRow in interface javatools.db.DbIterator
remove
public void remove()
- Removes the current element in the iterator.
- Specified by:
remove in interface javatools.db.DbIterator