Package org.mapfish.print.output
Class JasperReportSvgOutputFormat
- java.lang.Object
-
- org.mapfish.print.output.AbstractJasperReportOutputFormat
-
- org.mapfish.print.output.JasperReportSvgOutputFormat
-
- All Implemented Interfaces:
OutputFormat
public class JasperReportSvgOutputFormat extends AbstractJasperReportOutputFormat
An SVG output format that uses Jasper reports to generate the result.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mapfish.print.output.AbstractJasperReportOutputFormat
AbstractJasperReportOutputFormat.Print
-
-
Constructor Summary
Constructors Constructor Description JasperReportSvgOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExport(java.io.OutputStream outputStream, AbstractJasperReportOutputFormat.Print print)
Export the report to the output stream.java.lang.String
getContentType()
The content type of the output.java.lang.String
getFileSuffix()
The file suffix to use when writing to a file.-
Methods inherited from class org.mapfish.print.output.AbstractJasperReportOutputFormat
getJasperPrint, print
-
-
-
-
Method Detail
-
getContentType
public java.lang.String getContentType()
Description copied from interface:OutputFormat
The content type of the output.
-
getFileSuffix
public java.lang.String getFileSuffix()
Description copied from interface:OutputFormat
The file suffix to use when writing to a file.
-
doExport
protected void doExport(java.io.OutputStream outputStream, AbstractJasperReportOutputFormat.Print print) throws net.sf.jasperreports.engine.JRException, java.io.IOException
Description copied from class:AbstractJasperReportOutputFormat
Export the report to the output stream.- Specified by:
doExport
in classAbstractJasperReportOutputFormat
- Parameters:
outputStream
- the output stream to export toprint
- the report- Throws:
net.sf.jasperreports.engine.JRException
java.io.IOException
-
-