Class DataAdapterParameterContributorFactory
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.DataAdapterParameterContributorFactory
-
- All Implemented Interfaces:
ParameterContributorFactory
public final class DataAdapterParameterContributorFactory extends Object implements ParameterContributorFactory
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_DATA_ADAPTER_LOCATION
A report/dataset level property that provides the location of a data adapter resource to be used for the dataset.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ParameterContributor>
getContributors(ParameterContributorContext context)
Returns a list of parameter contributor instances to be used during report filling.static DataAdapterParameterContributorFactory
getInstance()
-
-
-
Field Detail
-
PROPERTY_DATA_ADAPTER_LOCATION
public static final String PROPERTY_DATA_ADAPTER_LOCATION
A report/dataset level property that provides the location of a data adapter resource to be used for the dataset.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static DataAdapterParameterContributorFactory getInstance()
-
getContributors
public List<ParameterContributor> getContributors(ParameterContributorContext context) throws JRException
Description copied from interface:ParameterContributorFactory
Returns a list of parameter contributor instances to be used during report filling. This method can returnnull
if no parameter contributor is to be used.- Specified by:
getContributors
in interfaceParameterContributorFactory
- Throws:
JRException
-
-