Class ExporterFilterContainer
- java.lang.Object
-
- net.sf.jasperreports.engine.export.ExporterFilterContainer
-
- All Implemented Interfaces:
ExporterFilter
,ResetableExporterFilter
public class ExporterFilterContainer extends java.lang.Object implements ResetableExporterFilter
An exporter filter that consists of several exporter filter, and filters elements through each of them.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
isToExport(JRPrintElement)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXCEPTION_MESSAGE_KEY_NULL_FILTERS_LIST
-
Constructor Summary
Constructors Constructor Description ExporterFilterContainer(java.util.List<ExporterFilter> filters)
Constructs a container for a list of exporter filters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isToExport(JRPrintElement element)
Returnstrue
if the element is not filtered by any of the contained filters.void
reset()
Clears the filter's internal cache that might have built up during use.
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_NULL_FILTERS_LIST
public static final java.lang.String EXCEPTION_MESSAGE_KEY_NULL_FILTERS_LIST
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExporterFilterContainer
public ExporterFilterContainer(java.util.List<ExporterFilter> filters)
Constructs a container for a list of exporter filters.- Parameters:
filters
- the list of filters
-
-
Method Detail
-
isToExport
public boolean isToExport(JRPrintElement element)
Returnstrue
if the element is not filtered by any of the contained filters.- Specified by:
isToExport
in interfaceExporterFilter
-
reset
public void reset()
Description copied from interface:ResetableExporterFilter
Clears the filter's internal cache that might have built up during use. Filters implementing this interface usually cache data and they need to be reset before being used again.- Specified by:
reset
in interfaceResetableExporterFilter
-
-