net.sf.jasperreports.engine.export
Class ElementKeyExporterFilter
java.lang.Object
net.sf.jasperreports.engine.export.ElementKeyExporterFilter
- All Implemented Interfaces:
- ExporterFilter
public class ElementKeyExporterFilter
- extends Object
- implements ExporterFilter
An exporter filter that excludes elements based on their keys.
The filter uses a fixed set of elements keys to exclude.
- Version:
- $Id: ElementKeyExporterFilter.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementKeyExporterFilter
public ElementKeyExporterFilter(Set<String> excludedKeys)
- Creates a filter instance.
- Parameters:
excludedKeys - the set of keys to exclude
isToExport
public boolean isToExport(JRPrintElement element)
- Excludes elements whose keys match any of the excluded keys.
Elements with no keys are not excluded.
- Specified by:
isToExport in interface ExporterFilter
Copyright © 2012. All Rights Reserved.