|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.io.ext.writer.ReportWriter
A report writer.
| Constructor Summary | |
ReportWriter(JFreeReport report,
java.lang.String encoding)
Creates a new report writer for a report. |
|
| Method Summary | |
void |
addClassFactoryFactory(org.jfree.xml.factory.objects.ClassFactory cf)
Adds a class factory. |
void |
addDataSourceFactory(DataSourceFactory dsf)
Adds a data-source factory. |
void |
addElementFactory(ElementFactory ef)
Adds an element factory. |
void |
addStyleKeyFactory(StyleKeyFactory skf)
Adds a style-key factory. |
void |
addTemplateCollection(TemplateCollection collection)
Adds a template collection. |
org.jfree.xml.factory.objects.ClassFactoryCollector |
getClassFactoryCollector()
Returns the class factory collector. |
DataSourceCollector |
getDataSourceCollector()
Returns the data-source collector. |
ElementFactoryCollector |
getElementFactoryCollector()
Returns the element factory collector. |
java.lang.String |
getEncoding()
Returns the encoding. |
JFreeReport |
getReport()
Returns the report. |
StyleKeyFactoryCollector |
getStyleKeyFactoryCollector()
Returns the style-key factory collector. |
TemplateCollector |
getTemplateCollector()
Returns the template collector. |
void |
write(java.io.Writer w)
Writes a report to a character stream writer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReportWriter(JFreeReport report,
java.lang.String encoding)
report - the report.encoding - the encoding.| Method Detail |
public java.lang.String getEncoding()
public void addDataSourceFactory(DataSourceFactory dsf)
dsf - the data-source factory.public DataSourceCollector getDataSourceCollector()
public void addElementFactory(ElementFactory ef)
ef - the element factory.public ElementFactoryCollector getElementFactoryCollector()
public void addClassFactoryFactory(org.jfree.xml.factory.objects.ClassFactory cf)
cf - the class factory.public org.jfree.xml.factory.objects.ClassFactoryCollector getClassFactoryCollector()
public void addStyleKeyFactory(StyleKeyFactory skf)
skf - the style-key factory.public StyleKeyFactoryCollector getStyleKeyFactoryCollector()
public void addTemplateCollection(TemplateCollection collection)
collection - the template collection.public TemplateCollector getTemplateCollector()
public JFreeReport getReport()
public void write(java.io.Writer w)
throws java.io.IOException,
ReportWriterException
w - the character stream writer.
java.io.IOException - if there is an I/O problem.
ReportWriterException - if there is a problem writing the report.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||