|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.export.ElementKeyExporterFilterFactory
public class ElementKeyExporterFilterFactory
Factory of ElementKeyExporterFilter
instances.
The factory uses report properties to decide which element keys are to
be filtered on export.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_EXCLUDED_KEY_PREFIX
The prefix of element exclusion properties. |
Constructor Summary | |
---|---|
ElementKeyExporterFilterFactory()
|
Method Summary | |
---|---|
ExporterFilter |
getFilter(JRExporterContext exporterContext)
The exported report is searched for element exclusion properties, and if any is found a ElementKeyExporterFilter instance is returned. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_EXCLUDED_KEY_PREFIX
net.sf.jasperreports.export.xls.exclude.key.*
.
Constructor Detail |
---|
public ElementKeyExporterFilterFactory()
Method Detail |
---|
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 ExporterFilterFactory
exporterContext
- the exporter context
null
if nothing
is to be filtered
JRException
PROPERTY_EXCLUDED_KEY_PREFIX
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |