|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.morph.reflect.support.ResultSetIterator
public class ResultSetIterator
An iterator over a ResultSet. SQLExceptions are wrapped in MorphExceptions.
| Constructor Summary | |
|---|---|
ResultSetIterator(java.sql.ResultSet resultSet)
|
|
| Method Summary | |
|---|---|
protected void |
advanceToNextRow()
|
protected void |
handleResultSetNextException(java.sql.SQLException e)
|
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultSetIterator(java.sql.ResultSet resultSet)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iterator
protected void advanceToNextRow()
throws MorphException
MorphException
protected void handleResultSetNextException(java.sql.SQLException e)
throws MorphException
MorphExceptionpublic void remove()
remove in interface java.util.Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||