jdbreport.source
Class IteratorDataSet
java.lang.Object
jdbreport.source.AbstractDataSet
jdbreport.source.ReflectDataSet
jdbreport.source.IteratorDataSet
- All Implemented Interfaces:
- Cloneable, ReportDataSet
- Direct Known Subclasses:
- IterableDataSet
public class IteratorDataSet
- extends ReflectDataSet
- Version:
- 1.4 15.03.2010
- Author:
- Andrey Kholmanskih
Method Summary |
boolean |
next()
Moves the cursor on the next record (object) in the DataSet |
boolean |
reopen()
Does nothing |
protected void |
setIterator(Iterator<?> it)
|
IteratorDataSet
public IteratorDataSet(String id,
Iterator<?> it)
next
public boolean next()
throws ReportException
- Description copied from interface:
ReportDataSet
- Moves the cursor on the next record (object) in the DataSet
- Specified by:
next
in interface ReportDataSet
- Overrides:
next
in class AbstractDataSet
- Returns:
- true if successful
- Throws:
ReportException
setIterator
protected void setIterator(Iterator<?> it)
reopen
public boolean reopen()
throws ReportException
- Does nothing
- Returns:
- true if not eof
- Throws:
ReportException