Style Intelligence v12.0

inetsoft.report.io
Interface Generator

All Known Implementing Classes:
AbstractGenerator, ExcelDataGenerator, ExcelGenerator, ExcelSheetGenerator, HTMLGenerator, PDF3Generator, PDF4Generator, PDF8Generator, PPTGenerator, PSGenerator, RTFGenerator, SVGGenerator, TextGenerator, XMLGenerator

public interface Generator

This interface is the common interface for all report export generators.


Method Summary
 void addProgressListener(ProgressListener listener)
          Add a listener to be notified of export progress.
 void generate(ReportSheet sheet)
          Export a report.
 void generate(ReportSheet sheet, Enumeration pages)
          Write a collection of pages to text.
 OutputStream getOutput()
          Get the output stream used by the generator.
 inetsoft.report.internal.paging.ReportCache getReportCache()
          Get report cache;
 Object getReportId()
          Get report ID;
 void removeProgressListener(ProgressListener listener)
          Remove a listener.
 void setDocumentInfo(DocumentInfo info)
          Set the document info to export.
 void setOutput(OutputStream output)
          Set the output stream of this generator.
 void setReportCache(inetsoft.report.internal.paging.ReportCache repcache)
          Set report cache.
 void setReportId(Object repId)
          Set report ID;
 

Method Detail

setDocumentInfo

void setDocumentInfo(DocumentInfo info)
Set the document info to export.


setOutput

void setOutput(OutputStream output)
Set the output stream of this generator.


getOutput

OutputStream getOutput()
Get the output stream used by the generator.


generate

void generate(ReportSheet sheet)
              throws IOException
Export a report.

Parameters:
sheet - report to export.
Throws:
IOException

generate

void generate(ReportSheet sheet,
              Enumeration pages)
              throws IOException
Write a collection of pages to text.

Throws:
IOException

addProgressListener

void addProgressListener(ProgressListener listener)
Add a listener to be notified of export progress.


removeProgressListener

void removeProgressListener(ProgressListener listener)
Remove a listener.


setReportCache

void setReportCache(inetsoft.report.internal.paging.ReportCache repcache)
Set report cache.


getReportCache

inetsoft.report.internal.paging.ReportCache getReportCache()
Get report cache;


setReportId

void setReportId(Object repId)
Set report ID;


getReportId

Object getReportId()
Get report ID;


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.