com.pow2.dao.datalist
Class ResultSetDataListIterator

java.lang.Object
  extended bycom.pow2.dao.datalist.ResultSetDataListIterator
All Implemented Interfaces:
DataListIterator

public class ResultSetDataListIterator
extends Object
implements DataListIterator

ResultSetDataListIterator class

Author:
Claudio Fratarcangeli

Field Summary
protected static org.apache.log4j.Category cat
          Log4J category.
 
Constructor Summary
ResultSetDataListIterator(ResultSetDataList rsDataList)
          Constructor
 
Method Summary
 boolean hasNext()
          Check if the data list contains another object.
 Object next(Object obj)
          Get the next object from the data list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected static org.apache.log4j.Category cat
Log4J category.

Constructor Detail

ResultSetDataListIterator

public ResultSetDataListIterator(ResultSetDataList rsDataList)
                          throws Exception
Constructor

Parameters:
rsDataList - a resultSetDataList object
Throws:
Exception - if any error occurs
Method Detail

hasNext

public boolean hasNext()
                throws Exception
Check if the data list contains another object.

Specified by:
hasNext in interface DataListIterator
Returns:
true if the data list contains another object, false otherwise
Throws:
Exception - if any error occurs

next

public Object next(Object obj)
            throws NoSuchElementException
Get the next object from the data list

Specified by:
next in interface DataListIterator
Parameters:
obj - the object to fill with data
Returns:
the next object from the data list
Throws:
NoSuchElementException - if any error occurs


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.