public class DefaultExporterFilterFactory extends java.lang.Object implements ExporterFilterFactory
getFilter(JRExporterContext)
Modifier and Type | Field and Description |
---|---|
static java.lang.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 java.util.List |
getAllFilterFactories(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(java.lang.String factoryClassName) |
public static final java.lang.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 java.util.List getAllFilterFactories(JasperPrint report) throws JRException
JRException
protected ExporterFilterFactory getFilterFactory(java.lang.String factoryClassName) throws JRException
JRException
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com