org.opengts.war.report.presentation
Class BodyRowTemplate

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

public class BodyRowTemplate
extends java.lang.Object


Constructor Summary
BodyRowTemplate(ReportTable rptTable)
           
 
Method Summary
 void writeCSV(java.io.PrintWriter out, int level, int rowIndex, boolean isTotal, DBDataRow dr)
          Write report in CSV format
 void writeHTML(java.io.PrintWriter out, int level, int rowIndex, boolean isTotal, DBDataRow dr)
           
 void writeXLS(ReportSpreadsheet rptRSS, int level, int rowIndex, DBDataRow dr)
          Write report in XLS (spreadsheet) format
 void writeXML(java.io.PrintWriter out, int level, int rowIndex, boolean isTotal, DBDataRow dr)
          Write report in XML format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyRowTemplate

public BodyRowTemplate(ReportTable rptTable)
Method Detail

writeHTML

public void writeHTML(java.io.PrintWriter out,
                      int level,
                      int rowIndex,
                      boolean isTotal,
                      DBDataRow dr)
               throws ReportException
Throws:
ReportException

writeXML

public void writeXML(java.io.PrintWriter out,
                     int level,
                     int rowIndex,
                     boolean isTotal,
                     DBDataRow dr)
              throws ReportException
Write report in XML format

Throws:
ReportException

writeCSV

public void writeCSV(java.io.PrintWriter out,
                     int level,
                     int rowIndex,
                     boolean isTotal,
                     DBDataRow dr)
              throws ReportException
Write report in CSV format

Throws:
ReportException

writeXLS

public void writeXLS(ReportSpreadsheet rptRSS,
                     int level,
                     int rowIndex,
                     DBDataRow dr)
              throws ReportException
Write report in XLS (spreadsheet) format

Throws:
ReportException