net.sf.jasperreports.engine.export

## Interface GenericElementJsonHandler

- All Superinterfaces:
    GenericElementHandler
  All Known Implementing Classes:
    CrosstabInteractiveJsonHandler, HeaderToolbarElementJsonHandler, MapElementJsonHandler, SortElementJsonHandler

      public interface GenericElementJsonHandler
      extends GenericElementHandler

  A generic print element JSON export handler.
  Version:
    $Id$
  Author:
    Narcis Marcu(nmarcu@users.sourceforge.net)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `PARAMETER_CLEAR_CONTEXT_CACHE`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getJsonFragment(JsonExporterContext exporterContext, JRGenericPrintElement element)` Returns an JSON fragment that is to be inserted in the export output.

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

      `toExport`

- - ### Field Detail

    - #### PARAMETER_CLEAR_CONTEXT_CACHE

          static final java.lang.String PARAMETER_CLEAR_CONTEXT_CACHE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getJsonFragment

          java.lang.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

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com