|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcon.text.AbstractReportEngine
org.jcon.text.IteratingDictionaryReportEngine
public class IteratingDictionaryReportEngine
TextReportEngine that iterates through a Map object, creates a little object with "key" and "value" properties for each pair, and runs the subreport on this pair object.
| Constructor Summary | |
|---|---|
IteratingDictionaryReportEngine()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBetween()
Something to go in between each iteration. |
java.util.Comparator |
getComparer()
Used to sort the keys. |
java.lang.String |
getFooter()
Something for the bottom of this report or section. |
java.lang.String |
getHeader()
Something for the top of this report or section. |
TextReportEngine |
getSubReport()
The report engine to run on each pair in the Map. |
void |
setBetween(java.lang.String newBetween)
Something to go in between each iteration. |
void |
setComparer(java.util.Comparator newComparer)
|
void |
setFooter(java.lang.String newFooter)
Something for the bottom of this report or section. |
void |
setHeader(java.lang.String newHeader)
Something for the top of this report or section. |
void |
setSubReport(TextReportEngine newReport)
|
void |
writeReport(java.lang.Object source,
java.io.PrintWriter printy)
Subclasses must implement this - by this time we have a real PrintWriter. |
| Methods inherited from class org.jcon.text.AbstractReportEngine |
|---|
generateReportFor, writeReport |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IteratingDictionaryReportEngine()
| Method Detail |
|---|
public void writeReport(java.lang.Object source,
java.io.PrintWriter printy)
AbstractReportEngine
writeReport in class AbstractReportEnginepublic java.lang.String getHeader()
public void setHeader(java.lang.String newHeader)
public java.lang.String getBetween()
public void setBetween(java.lang.String newBetween)
public java.lang.String getFooter()
public void setFooter(java.lang.String newFooter)
public TextReportEngine getSubReport()
public void setSubReport(TextReportEngine newReport)
public java.util.Comparator getComparer()
public void setComparer(java.util.Comparator newComparer)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||