Package net.sf.jasperreports.data.json
Class JsonDataAdapterService
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.AbstractDataAdapterService
-
- net.sf.jasperreports.data.json.JsonDataAdapterService
-
- All Implemented Interfaces:
DataAdapterService
,ParameterContributor
,Designator<DataAdapter>
public class JsonDataAdapterService extends AbstractDataAdapterService implements Designator<DataAdapter>
- Author:
- Veaceslov Chicu (schicu@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_DESIGNATION
static String
JSONQL_DESIGNATION
-
Fields inherited from class net.sf.jasperreports.dataadapters.AbstractDataAdapterService
SECRETS_CATEGORY
-
-
Constructor Summary
Constructors Constructor Description JsonDataAdapterService(ParameterContributorContext paramContribContext, JsonDataAdapter jsonDataAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contributeParameters(Map<String,Object> parameters)
void
dispose()
JsonDataAdapter
getJsonDataAdapter()
String
getName(DataAdapter dataAdapter)
-
Methods inherited from class net.sf.jasperreports.dataadapters.AbstractDataAdapterService
getDataAdapter, getJasperReportsContext, getName, getParameterContributorContext, setDataAdapter, setName, test
-
-
-
-
Field Detail
-
JSON_DESIGNATION
public static final String JSON_DESIGNATION
- See Also:
- Constant Field Values
-
JSONQL_DESIGNATION
public static final String JSONQL_DESIGNATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JsonDataAdapterService
public JsonDataAdapterService(ParameterContributorContext paramContribContext, JsonDataAdapter jsonDataAdapter)
-
-
Method Detail
-
getJsonDataAdapter
public JsonDataAdapter getJsonDataAdapter()
-
contributeParameters
public void contributeParameters(Map<String,Object> parameters) throws JRException
- Specified by:
contributeParameters
in interfaceParameterContributor
- Specified by:
contributeParameters
in classAbstractDataAdapterService
- Throws:
JRException
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceParameterContributor
- Overrides:
dispose
in classAbstractDataAdapterService
-
getName
public String getName(DataAdapter dataAdapter)
- Specified by:
getName
in interfaceDesignator<DataAdapter>
-
-