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
ConstructorsConstructorDescriptionRewindableDataSourceCollection(List<? extends RewindableDataSourceProvider<D>> dataSources) -
Method Summary
Modifier and TypeMethodDescriptionvoidMoves back to the first element in the data source.Methods inherited from class net.sf.jasperreports.data.DataSourceCollection
currentDataSource, getFieldValue, next, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.JRDataSource
getFieldValue, next
-
Constructor Details
-
RewindableDataSourceCollection
public RewindableDataSourceCollection(List<? extends RewindableDataSourceProvider<D>> dataSources) throws JRException - Throws:
JRException
-
-
Method Details
-
moveFirst
Description copied from interface:JRRewindableDataSourceMoves back to the first element in the data source.- Specified by:
moveFirstin interfaceJRRewindableDataSource- Throws:
JRException
-