|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dftproject.genesis.core.data.nodes.NodeIterator
public class NodeIterator
NodeIterator iterates over the contents of a resource set.
| Constructor Summary | |
|---|---|
protected |
NodeIterator(DataConnection conn,
DataView view,
java.sql.ResultSet rs,
java.util.List<org.dftproject.genesis.core.data.nodes.QueryField> required,
java.util.List<org.dftproject.genesis.core.data.nodes.QueryField> optional)
Creates an iterator over a resource set. |
| Method Summary | |
|---|---|
void |
close()
Closes the underlying result set. |
protected IResourceNode |
fetchNext()
Internal method used to fetch the next node. |
boolean |
hasNext()
|
IResourceNode |
next()
|
void |
remove()
This operation is not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected NodeIterator(DataConnection conn,
DataView view,
java.sql.ResultSet rs,
java.util.List<org.dftproject.genesis.core.data.nodes.QueryField> required,
java.util.List<org.dftproject.genesis.core.data.nodes.QueryField> optional)
conn - a data connectionview - a viewrs - a JDBC result setrequired - list of required fieldsoptional - list of optional fields| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<IResourceNode>public IResourceNode next()
next in interface java.util.Iterator<IResourceNode>protected IResourceNode fetchNext()
public void remove()
remove in interface java.util.Iterator<IResourceNode>Iterator.remove()public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||