|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.writer.XMLWriterSupport
org.jfree.report.modules.parser.extwriter.AbstractXMLDefinitionWriter
org.jfree.report.modules.parser.extwriter.ObjectWriter
org.jfree.report.modules.parser.extwriter.DataSourceWriter
A data-source writer. Writes datasources and templates.
Field Summary |
Fields inherited from class org.jfree.xml.writer.XMLWriterSupport |
CLOSE, CLOSE_TAG_DECREASE, INDENT_ONLY, OPEN, OPEN_TAG_INCREASE |
Constructor Summary | |
DataSourceWriter(ReportWriter reportWriter,
DataSource baseObject,
org.jfree.xml.factory.objects.ObjectDescription objectDescription,
int indent,
CommentHintPath commentHintPath)
Creates a new writer. |
Method Summary | |
protected void |
writeParameter(java.io.Writer writer,
java.lang.String name)
Writes a parameter. |
Methods inherited from class org.jfree.report.modules.parser.extwriter.ObjectWriter |
getClassFactoryCollector, getCommentHintPath, getObjectDescription, getParameterDescription, getParameterNames, isBasicObject, write |
Methods inherited from class org.jfree.report.modules.parser.extwriter.AbstractXMLDefinitionWriter |
getDefaultSafeTags, getReport, getReportWriter, normalize, writeComment, writeComment |
Methods inherited from class org.jfree.xml.writer.XMLWriterSupport |
allowLineBreak, decreaseIndent, endBlock, getIndentLevel, getLineSeparator, getSafeTags, increaseIndent, indent, startBlock, writeCloseTag, writeTag, writeTag, writeTag, writeTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataSourceWriter(ReportWriter reportWriter, DataSource baseObject, org.jfree.xml.factory.objects.ObjectDescription objectDescription, int indent, CommentHintPath commentHintPath) throws ReportWriterException
reportWriter
- the report writer.baseObject
- the base object.objectDescription
- the object description.indent
- the current indention level.commentHintPath
- the path on where to search for ext-parser comments
in the report builder hints.
ReportWriterException
- if an error occured.
java.lang.IllegalArgumentException
- if the object description does
not describe a datasource.Method Detail |
protected void writeParameter(java.io.Writer writer, java.lang.String name) throws java.io.IOException, ReportWriterException
writeParameter
in class ObjectWriter
writer
- the writer.name
- the name.
java.io.IOException
- if there is an I/O problem.
ReportWriterException
- if the report definition could not be written.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |