Package net.sf.jasperreports.engine.data
Class JsonDataCollection<D extends JsonData<D>>
- java.lang.Object
-
- net.sf.jasperreports.data.DataSourceCollection<D,RewindableDataSourceProvider<D>>
-
- net.sf.jasperreports.data.RewindableDataSourceCollection<D>
-
- net.sf.jasperreports.engine.data.JsonDataCollection<D>
-
- All Implemented Interfaces:
HierarchicalDataSource<D>
,JsonData<D>
,JRDataSource
,JRRewindableDataSource
public class JsonDataCollection<D extends JsonData<D>> extends RewindableDataSourceCollection<D> implements JsonData<D>
- 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 JsonDataCollection(List<? extends RewindableDataSourceProvider<D>> dataSources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description D
subDataSource()
D
subDataSource(String selectExpression)
-
Methods inherited from class net.sf.jasperreports.data.RewindableDataSourceCollection
moveFirst
-
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
-
Methods inherited from interface net.sf.jasperreports.engine.JRRewindableDataSource
moveFirst
-
-
-
-
Constructor Detail
-
JsonDataCollection
public JsonDataCollection(List<? extends RewindableDataSourceProvider<D>> dataSources) throws JRException
- Throws:
JRException
-
-
Method Detail
-
subDataSource
public D subDataSource() throws JRException
- Specified by:
subDataSource
in interfaceHierarchicalDataSource<D extends JsonData<D>>
- Throws:
JRException
-
subDataSource
public D subDataSource(String selectExpression) throws JRException
- Specified by:
subDataSource
in interfaceHierarchicalDataSource<D extends JsonData<D>>
- Throws:
JRException
-
-