|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.targets.table.TableProducer
com.jrefinery.report.targets.table.csv.CSVTableProducer
The TableProducer is responsible for creating the produced Table. After the writer has finished the band layout process, the layouted bands are forwarded into the TableProducer. The TableProducer coordinates the cell creation process and collects the generated TableCellData. The raw CellData objects are later transformed into a TableGridLayout.
This class defines the global contract and provides some helper methods for the implementors.
Field Summary |
Fields inherited from class com.jrefinery.report.targets.table.TableProducer |
AUTHOR, CREATOR, TITLE |
Constructor Summary | |
CSVTableProducer(java.io.PrintWriter writer,
boolean strict)
Creates a new CSVTableProducer , using the given writer,
strict mode and separator. |
Method Summary | |
void |
beginPage(java.lang.String name)
Pages are not supported by this implementation. |
void |
close()
Handles the closing of the producer. |
void |
configure(java.util.Properties configuration)
Configures the table producer by reading the configuration settings from the given map. |
void |
endPage()
Ends the page and layouts the generated grid. |
TableCellDataFactory |
getCellDataFactory()
Gets the CSVTableProducer's table cell data factory. |
boolean |
isOpen()
Returns true, if the TableProducer is open. |
void |
open()
Handles the opening of the producer. |
Methods inherited from class com.jrefinery.report.targets.table.TableProducer |
addCell, clearCells, createTableCellStyle, getCellCount, getProperty, getProperty, getPropertyNames, isDummy, layoutGrid, processBand, setDummy, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CSVTableProducer(java.io.PrintWriter writer, boolean strict)
CSVTableProducer
, using the given writer,
strict mode and separator.
writer
- the character stream writer for writing the generated content.strict
- the strict mode that is used for the layouting.Method Detail |
public void open()
open
in class TableProducer
public void close()
close
in class TableProducer
public void endPage()
endPage
in class TableProducer
public void beginPage(java.lang.String name)
beginPage
in class TableProducer
name
- the name of the page, not used.public TableCellDataFactory getCellDataFactory()
getCellDataFactory
in class TableProducer
public boolean isOpen()
isOpen
in class TableProducer
public void configure(java.util.Properties configuration)
configure
in class TableProducer
configuration
- the configuration supplied by the table processor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |