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 ExporterFilterFactory
exporterContext
- the exporter contextnull
if nothing
is to be filteredJRException
PROPERTY_EXPORTER_FILTER_FACTORY_PREFIX
protected List<ExporterFilterFactory> getAllFilterFactories(JasperReportsContext jasperReportsContext, JasperPrint report) throws JRException
JRException
protected ExporterFilterFactory getFilterFactory(String factoryClassName) throws JRException
JRException
Copyright © 2016. All rights reserved.