com.tngtech.jgiven.report.html
Class ReportModelHtmlWriter
java.lang.Object
com.tngtech.jgiven.report.model.ReportModelVisitor
com.tngtech.jgiven.report.html.ReportModelHtmlWriter
public class ReportModelHtmlWriter
- extends ReportModelVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
protected final PrintWriter writer
utils
protected final HtmlWriterUtils utils
ReportModelHtmlWriter
public ReportModelHtmlWriter(PrintWriter writer)
writeHtmlHeader
public void writeHtmlHeader(String title)
writeHtmlFooter
public void writeHtmlFooter()
write
public void write(ScenarioModel model)
write
public void write(ReportModel model,
HtmlTocWriter htmlTocWriter)
toString
public static String toString(ScenarioModel model)
toString
public static String toString(ReportModel model)
toString
public static String toString(com.google.common.base.Function<PrintWriter,Void> writeFunction)
writeToFile
public static void writeToFile(File file,
ReportModel model,
HtmlTocWriter htmlTocWriter)
throws FileNotFoundException,
UnsupportedEncodingException
- Throws:
FileNotFoundException
UnsupportedEncodingException
visit
public void visit(ReportModel reportModel)
- Overrides:
visit
in class ReportModelVisitor
visitEnd
public void visitEnd(ReportModel reportModel)
- Overrides:
visitEnd
in class ReportModelVisitor
visit
public void visit(ScenarioModel scenarioModel)
- Overrides:
visit
in class ReportModelVisitor
Copyright © 2014 TNG Technology Consulting. All rights reserved.