Class GenericElementReportTransformer
- java.lang.Object
-
- net.sf.jasperreports.engine.export.GenericElementReportTransformer
-
public final class GenericElementReportTransformer extends Object
A utility class that appliesGenericElementTransformers
to a filled report.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
GenericElementTransformer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
GenericElementReportTransformer.TransformerContext
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
transformElements(GenericElementReportTransformer.TransformerContext context, String transformerExportKey, List<JRPrintElement> elements)
static void
transformGenericElements(JasperReportsContext jasperReportsContext, JasperPrint report, String transformerExportKey)
Applies generic element transformers of a specific key to a filled report by replacing generic elements with the transformed elements.
-
-
-
Method Detail
-
transformGenericElements
public static void transformGenericElements(JasperReportsContext jasperReportsContext, JasperPrint report, String transformerExportKey)
Applies generic element transformers of a specific key to a filled report by replacing generic elements with the transformed elements.- Parameters:
report
- the reporttransformerExportKey
- the key used to resolve element transformers- See Also:
GenericElementTransformer
,GenericElementHandlerBundle.getHandler(String, String)
-
transformElements
protected static void transformElements(GenericElementReportTransformer.TransformerContext context, String transformerExportKey, List<JRPrintElement> elements)
-
-