public class ElementKeyExporterFilterFactory extends Object implements ExporterFilterFactory
ElementKeyExporterFilter instances.
The factory uses report properties to decide which element keys are to
be filtered on export.| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_EXCLUDED_KEY_PREFIX
The prefix of element exclusion properties.
|
| Constructor and Description |
|---|
ElementKeyExporterFilterFactory() |
| Modifier and Type | Method and Description |
|---|---|
ExporterFilter |
getFilter(JRExporterContext exporterContext)
The exported report is searched for element exclusion properties, and
if any is found a
ElementKeyExporterFilter instance is returned. |
public static final String PROPERTY_EXCLUDED_KEY_PREFIX
net.sf.jasperreports.export.xls.exclude.key.*.public ExporterFilter getFilter(JRExporterContext exporterContext) throws JRException
ElementKeyExporterFilter instance is returned.
Each property results in a excluded element key in the following manner:
getFilter in interface ExporterFilterFactoryexporterContext - the exporter contextnull if nothing
is to be filteredJRExceptionPROPERTY_EXCLUDED_KEY_PREFIXCopyright © 2017. All rights reserved.