Package net.sf.jasperreports.json.data
Class JsonDataSourceProvider
- java.lang.Object
-
- net.sf.jasperreports.json.data.JsonDataSourceProvider
-
- All Implemented Interfaces:
DataSourceProvider<JsonDataSource>
,RewindableDataSourceProvider<JsonDataSource>
public class JsonDataSourceProvider extends Object implements RewindableDataSourceProvider<JsonDataSource>
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JsonDataSourceProvider(JasperReportsContext jasperReportsContext, String jsonSource, String queryString, TextDataSourceAttributes textAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonDataSource
getDataSource()
void
rewind()
-
-
-
Constructor Detail
-
JsonDataSourceProvider
public JsonDataSourceProvider(JasperReportsContext jasperReportsContext, String jsonSource, String queryString, TextDataSourceAttributes textAttributes)
-
-
Method Detail
-
getDataSource
public JsonDataSource getDataSource() throws JRException
- Specified by:
getDataSource
in interfaceDataSourceProvider<JsonDataSource>
- Throws:
JRException
-
rewind
public void rewind()
- Specified by:
rewind
in interfaceRewindableDataSourceProvider<JsonDataSource>
-
-