|
|||||||||
| 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.BeanReportEngine
public class BeanReportEngine
The engine for simple preformatted text reports.
| Constructor Summary | |
|---|---|
BeanReportEngine()
|
|
BeanReportEngine(java.lang.String format)
|
|
BeanReportEngine(java.lang.String format,
java.util.ArrayList fieldNames)
|
|
| Method Summary | |
|---|---|
java.util.ArrayList |
getFieldNames()
The ordered list of field names, corresponding to the order of the hash symbol fields in the format string. |
java.lang.String |
getFormat()
The format string for the engine. |
java.util.ArrayList |
getTextSubstitutions()
|
boolean |
isVariableWidthOnly()
|
void |
printField(java.lang.Object source,
java.lang.String fieldName,
java.io.PrintWriter writer)
This allows hierarchical or other subclasses to do something different. |
void |
setFieldNames(java.util.ArrayList newFieldNames)
The ordered list of field names, corresponding to the order of the hash symbol fields in the format string. |
void |
setFormat(java.lang.String newFormat)
The format string for the engine. |
void |
setTextSubstitutions(java.util.ArrayList newSubs)
|
void |
setVariableWidthOnly(boolean tizit)
|
void |
writeReport(java.lang.Object source,
java.io.PrintWriter printy)
Generates and writes a report based on the provided source object. |
| 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 BeanReportEngine()
public BeanReportEngine(java.lang.String format,
java.util.ArrayList fieldNames)
public BeanReportEngine(java.lang.String format)
| Method Detail |
|---|
public void writeReport(java.lang.Object source,
java.io.PrintWriter printy)
writeReport in class AbstractReportEngine
public void printField(java.lang.Object source,
java.lang.String fieldName,
java.io.PrintWriter writer)
public java.lang.String getFormat()
public void setFormat(java.lang.String newFormat)
public java.util.ArrayList getFieldNames()
public java.util.ArrayList getTextSubstitutions()
public void setTextSubstitutions(java.util.ArrayList newSubs)
public void setFieldNames(java.util.ArrayList newFieldNames)
public boolean isVariableWidthOnly()
public void setVariableWidthOnly(boolean tizit)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||