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.

    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    See Also:
    GenericElementTransformer
    • 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