Interface GenericElementJsonHandler

  • All Superinterfaces:
    GenericElementHandler

    public interface GenericElementJsonHandler
    extends GenericElementHandler
    A generic print element JSON export handler.
    Author:
    Narcis Marcu(nmarcu@users.sourceforge.net)
    • Method Detail

      • getJsonFragment

        String getJsonFragment​(JsonExporterContext exporterContext,
                               JRGenericPrintElement element)
        Returns an JSON fragment that is to be inserted in the export output.
        Parameters:
        element - the generic print element
        Returns:
        the JSON fragment that represents the exported element