public class DefaultExporterFilterFactory extends Object implements ExporterFilterFactory
getFilter(JRExporterContext)| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_EXPORTER_FILTER_FACTORY_PREFIX
The prefix of properties that are used to register filter factories.
|
| Constructor and Description |
|---|
DefaultExporterFilterFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected List<ExporterFilterFactory> |
getAllFilterFactories(JasperReportsContext jasperReportsContext,
JasperPrint report) |
ExporterFilter |
getFilter(JRExporterContext exporterContext)
The method searches for all filter factories registered via
net.sf.jasperreports.export.filter.factory.* properties,
calls each factory and collects the returned filters. |
protected ExporterFilterFactory |
getFilterFactory(String factoryClassName) |
public static final String PROPERTY_EXPORTER_FILTER_FACTORY_PREFIX
public ExporterFilter getFilter(JRExporterContext exporterContext) throws JRException
net.sf.jasperreports.export.filter.factory.* properties,
calls each factory and collects the returned filters.
The method returns:
null, if no factory returned a not null filter.ExporterFilterContainer instance, if several factories returned not null filters.getFilter in interface ExporterFilterFactoryexporterContext - the exporter contextnull if nothing
is to be filteredJRExceptionPROPERTY_EXPORTER_FILTER_FACTORY_PREFIXprotected List<ExporterFilterFactory> getAllFilterFactories(JasperReportsContext jasperReportsContext, JasperPrint report) throws JRException
JRExceptionprotected ExporterFilterFactory getFilterFactory(String factoryClassName) throws JRException
JRExceptionCopyright © 2017. All rights reserved.