|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.report.generator.AbstractReportGenerator<O> de.smartics.report.generator.AbstractOutputReportGenerator de.smartics.maven.exceptions.AbstractSinkReportGenerator
public abstract class AbstractSinkReportGenerator
Simple generator that generates with a Maven sink.
Field Summary |
---|
Fields inherited from class de.smartics.report.generator.AbstractReportGenerator |
---|
encoding, output, renderer |
Fields inherited from interface de.smartics.report.conf.ReportGenerator |
---|
DEFAULT_ENCODING |
Constructor Summary | |
---|---|
protected |
AbstractSinkReportGenerator() Default constructor. |
Method Summary | |
---|---|
protected org.apache.maven.doxia.sink.Sink |
toSink(Object sink) Makes the cast. |
protected void |
writeContent(Object output, de.smartics.report.conf.ProjectConfiguration config, de.smartics.report.conf.ReportData reportData) |
protected void |
writeFooter(Object output, de.smartics.report.conf.ProjectConfiguration config) |
protected void |
writeInfoFooter(Object output, de.smartics.report.conf.ProjectConfiguration config) |
protected void |
writeInfoHeader(Object output, de.smartics.report.conf.ProjectConfiguration config, String headLine, com.sun.javadoc.ClassDoc classDoc) Writes the header and introduction text on a section 2. |
protected void |
writeInfoSubFooter(Object output, de.smartics.report.conf.ProjectConfiguration config) |
protected void |
writeInfoSubHeader(Object output, de.smartics.report.conf.ProjectConfiguration config, String subHeader) |
protected void |
writeReportElementInfo(Object output, de.smartics.report.conf.ProjectConfiguration config, com.sun.javadoc.FieldDoc fieldDoc) |
protected void |
writeTableHeader(Object output, de.smartics.report.conf.ProjectConfiguration config) Writes the table header. |
Methods inherited from class de.smartics.report.generator.AbstractOutputReportGenerator |
---|
write, writeHeader |
Methods inherited from class de.smartics.report.generator.AbstractReportGenerator |
---|
getEncoding, getOutput, setEncoding, setOutput, writeReport |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractSinkReportGenerator()
Method Detail |
---|
protected org.apache.maven.doxia.sink.Sink toSink(Object sink)
sink
- the instance to cast.
protected void writeReportElementInfo(Object output, de.smartics.report.conf.ProjectConfiguration config, com.sun.javadoc.FieldDoc fieldDoc) throws Exception
writeReportElementInfo
in class
de.smartics.report.generator.AbstractOutputReportGenerator
Exception
protected void writeContent(Object output, de.smartics.report.conf.ProjectConfiguration config, de.smartics.report.conf.ReportData reportData) throws Exception
writeContent
in class
de.smartics.report.generator.AbstractReportGenerator
Exception
protected void writeInfoFooter(Object output, de.smartics.report.conf.ProjectConfiguration config) throws Exception
writeInfoFooter
in class
de.smartics.report.generator.AbstractOutputReportGenerator
Exception
protected void writeInfoSubFooter(Object output, de.smartics.report.conf.ProjectConfiguration config) throws Exception
Exception
protected void writeInfoHeader(Object output, de.smartics.report.conf.ProjectConfiguration config, String headLine, com.sun.javadoc.ClassDoc classDoc) throws Exception
If no headLine
is given, the qualified class name is written as section title instead.
writeInfoHeader
in class
de.smartics.report.generator.AbstractOutputReportGenerator
output
- the output to write to.
config
- not used in this implementation.
headLine
- the text for the section header. May be
null
.
classDoc
- the type information to render if
headLine
is
null
as section header and its comment to render as introduction text.
Exception
- on any problem encountered.
protected void writeInfoSubHeader(Object output, de.smartics.report.conf.ProjectConfiguration config, String subHeader)
writeInfoSubHeader
in class
de.smartics.report.generator.AbstractOutputReportGenerator
protected void writeTableHeader(Object output, de.smartics.report.conf.ProjectConfiguration config)
writeTableHeader
in class
de.smartics.report.generator.AbstractOutputReportGenerator
output
- the output to write to.
config
- the project configuration to control the output.
protected void writeFooter(Object output, de.smartics.report.conf.ProjectConfiguration config)
writeFooter
in class
de.smartics.report.generator.AbstractOutputReportGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |