org.opengts.war.report.presentation
Class ReportBody

java.lang.Object
  extended by org.opengts.war.report.presentation.ReportBody

public class ReportBody
extends java.lang.Object


Field Summary
static java.lang.String PROP_ReportBody_debugXLS
           
 
Constructor Summary
  ReportBody(ReportTable rptTable)
           
protected ReportBody(ReportTable rptTable, BodyRowTemplate br)
           
 
Method Summary
 int getRecordCount(ReportData rd)
           
 boolean isPartial(ReportData rd)
           
 void writeCallback(OutputProvider out, int level, ReportData rd)
          Sends the first line of the report to the callback method
 void writeCSV(java.io.PrintWriter out, int level, ReportData report)
           
 void writeHTML(java.io.PrintWriter out, int level, ReportData report)
           
 void writeXLS(ReportSpreadsheet rptSS, int level, ReportData report)
           
 void writeXML(java.io.PrintWriter out, int level, ReportData report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_ReportBody_debugXLS

public static final java.lang.String PROP_ReportBody_debugXLS
See Also:
Constant Field Values
Constructor Detail

ReportBody

public ReportBody(ReportTable rptTable)

ReportBody

protected ReportBody(ReportTable rptTable,
                     BodyRowTemplate br)
Method Detail

getRecordCount

public int getRecordCount(ReportData rd)

isPartial

public boolean isPartial(ReportData rd)

writeHTML

public void writeHTML(java.io.PrintWriter out,
                      int level,
                      ReportData report)
               throws ReportException
Throws:
ReportException

writeXML

public void writeXML(java.io.PrintWriter out,
                     int level,
                     ReportData report)
              throws ReportException
Throws:
ReportException

writeCSV

public void writeCSV(java.io.PrintWriter out,
                     int level,
                     ReportData report)
              throws ReportException
Throws:
ReportException

writeXLS

public void writeXLS(ReportSpreadsheet rptSS,
                     int level,
                     ReportData report)
              throws ReportException
Throws:
ReportException

writeCallback

public void writeCallback(OutputProvider out,
                          int level,
                          ReportData rd)
                   throws ReportException
Sends the first line of the report to the callback method

Parameters:
out - The stream to which the output is written
level - The recursion level
rd - The Report attributes
Throws:
ReportException