Class CrosstabInteractiveJsonHandler
- java.lang.Object
-
- net.sf.jasperreports.interactivity.crosstabs.CrosstabInteractiveJsonHandler
-
- All Implemented Interfaces:
GenericElementHandler
,GenericElementJsonHandler
public class CrosstabInteractiveJsonHandler extends Object implements GenericElementJsonHandler
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.json.export.GenericElementJsonHandler
PARAMETER_CLEAR_CONTEXT_CACHE
-
-
Constructor Summary
Constructors Constructor Description CrosstabInteractiveJsonHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJsonFragment(JsonExporterContext exporterContext, JRGenericPrintElement element)
Returns an JSON fragment that is to be inserted in the export output.boolean
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
-
-
-
Method Detail
-
toExport
public boolean toExport(JRGenericPrintElement element)
Description copied from interface:GenericElementHandler
Decides whether a generic print element is to be exported.- Specified by:
toExport
in interfaceGenericElementHandler
- Parameters:
element
- the element- Returns:
- whether the element is to be exported or skipped
-
getJsonFragment
public String getJsonFragment(JsonExporterContext exporterContext, JRGenericPrintElement element)
Description copied from interface:GenericElementJsonHandler
Returns an JSON fragment that is to be inserted in the export output.- Specified by:
getJsonFragment
in interfaceGenericElementJsonHandler
element
- the generic print element- Returns:
- the JSON fragment that represents the exported element
-
-