Package net.sf.jasperreports.data
Class RewindableDataSourceCollection<D extends JRRewindableDataSource>
- java.lang.Object
-
- net.sf.jasperreports.data.DataSourceCollection<D,RewindableDataSourceProvider<D>>
-
- net.sf.jasperreports.data.RewindableDataSourceCollection<D>
-
- All Implemented Interfaces:
JRDataSource
,JRRewindableDataSource
- Direct Known Subclasses:
JsonDataCollection
public class RewindableDataSourceCollection<D extends JRRewindableDataSource> extends DataSourceCollection<D,RewindableDataSourceProvider<D>> implements JRRewindableDataSource
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.data.DataSourceCollection
currentDataSource, empty, EXCEPTION_MESSAGE_KEY_METHOD_CALL_ERROR, providerIterator
-
-
Constructor Summary
Constructors Constructor Description RewindableDataSourceCollection(List<? extends RewindableDataSourceProvider<D>> dataSources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
moveFirst()
Moves back to the first element in the data source.-
Methods inherited from class net.sf.jasperreports.data.DataSourceCollection
currentDataSource, getFieldValue, next, start
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.JRDataSource
getFieldValue, next
-
-
-
-
Constructor Detail
-
RewindableDataSourceCollection
public RewindableDataSourceCollection(List<? extends RewindableDataSourceProvider<D>> dataSources) throws JRException
- Throws:
JRException
-
-
Method Detail
-
moveFirst
public void moveFirst() throws JRException
Description copied from interface:JRRewindableDataSource
Moves back to the first element in the data source.- Specified by:
moveFirst
in interfaceJRRewindableDataSource
- Throws:
JRException
-
-