Class ExporterFilterContainer

java.lang.Object
net.sf.jasperreports.engine.export.ExporterFilterContainer
All Implemented Interfaces:
ExporterFilter, ResetableExporterFilter

public class ExporterFilterContainer extends 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:
  • Field Details

    • EXCEPTION_MESSAGE_KEY_NULL_FILTERS_LIST

      public static final String EXCEPTION_MESSAGE_KEY_NULL_FILTERS_LIST
      See Also:
  • Constructor Details

    • ExporterFilterContainer

      public ExporterFilterContainer(List<ExporterFilter> filters)
      Constructs a container for a list of exporter filters.
      Parameters:
      filters - the list of filters
  • Method Details

    • isToExport

      public boolean isToExport(JRPrintElement element)
      Returns true if the element is not filtered by any of the contained filters.
      Specified by:
      isToExport in interface ExporterFilter
    • 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 interface ResetableExporterFilter