org.opengts.war.report.presentation
Class ReportBody
java.lang.Object
org.opengts.war.report.presentation.ReportBody
public class ReportBody
- extends java.lang.Object
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 |
PROP_ReportBody_debugXLS
public static final java.lang.String PROP_ReportBody_debugXLS
- See Also:
- Constant Field Values
ReportBody
public ReportBody(ReportTable rptTable)
ReportBody
protected ReportBody(ReportTable rptTable,
BodyRowTemplate br)
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 writtenlevel
- The recursion levelrd
- The Report attributes
- Throws:
ReportException