Class ExporterFilterContainer
java.lang.Object
net.sf.jasperreports.engine.export.ExporterFilterContainer
- All Implemented Interfaces:
ExporterFilter,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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExporterFilterContainer(List<ExporterFilter> filters) Constructs a container for a list of exporter filters. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisToExport(JRPrintElement element) Returnstrueif the element is not filtered by any of the contained filters.voidreset()Clears the filter's internal cache that might have built up during use.
-
Field Details
-
EXCEPTION_MESSAGE_KEY_NULL_FILTERS_LIST
- See Also:
-
-
Constructor Details
-
ExporterFilterContainer
Constructs a container for a list of exporter filters.- Parameters:
filters- the list of filters
-
-
Method Details
-
isToExport
Returnstrueif the element is not filtered by any of the contained filters.- Specified by:
isToExportin interfaceExporterFilter
-
reset
public void reset()Description copied from interface:ResetableExporterFilterClears 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:
resetin interfaceResetableExporterFilter
-