net.sf.jasperreports.engine.export

## Interface GenericElementTransformer

- All Superinterfaces:
    GenericElementHandler

      public interface GenericElementTransformer
      extends GenericElementHandler

  A generic print element transformer.

  Such transformers can be used to preprocess a filled report prior to export by translating generic print elements into other print element types or into generic print elements of a different type.

  Version:
    $Id: GenericElementTransformer.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
  See Also:
    `GenericElementTransformer`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `JRPrintElement` | `transformElement(GenericElementTransformerContext context, JRGenericPrintElement element)` Transforms a generic print element into another element.

    - ### Methods inherited from interface net.sf.jasperreports.engine.export.GenericElementHandler

      `toExport`

- - ### Method Detail

    - #### transformElement

          JRPrintElement transformElement(GenericElementTransformerContext context,
                                        JRGenericPrintElement element)

      Transforms a generic print element into another element.
      Parameters:
        `context` - the transformation context
        `element` - the element to transform
      Returns:
        a print element obtained by transforming the element provided as argument

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com