Class HeaderToolbarElementJsonHandler
java.lang.Object
net.sf.jasperreports.components.headertoolbar.json.HeaderToolbarElementJsonHandler
- All Implemented Interfaces:
GenericElementHandler,GenericElementJsonHandler
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from interface net.sf.jasperreports.engine.export.GenericElementJsonHandler
PARAMETER_CLEAR_CONTEXT_CACHE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TimeZonegetFilterTimeZone(JasperPrint jasperPrint, JRGenericPrintElement element) getJsonFragment(JsonExporterContext context, JRGenericPrintElement element) Returns an JSON fragment that is to be inserted in the export output.booleantoExport(JRGenericPrintElement element) Decides whether a generic print element is to be exported.
-
Constructor Details
-
HeaderToolbarElementJsonHandler
public HeaderToolbarElementJsonHandler()
-
-
Method Details
-
getJsonFragment
Description copied from interface:GenericElementJsonHandlerReturns an JSON fragment that is to be inserted in the export output.- Specified by:
getJsonFragmentin interfaceGenericElementJsonHandlerelement- the generic print element- Returns:
- the JSON fragment that represents the exported element
-
getFilterTimeZone
-
toExport
Description copied from interface:GenericElementHandlerDecides whether a generic print element is to be exported.- Specified by:
toExportin interfaceGenericElementHandler- Parameters:
element- the element- Returns:
- whether the element is to be exported or skipped
-