public class SectionedHtmlReportBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SectionedHtmlReportBuilder.TableCell |
Modifier and Type | Field and Description |
---|---|
protected String |
reportName |
protected Map<String,Object> |
sections |
Constructor and Description |
---|
SectionedHtmlReportBuilder(String reportName) |
Modifier and Type | Method and Description |
---|---|
protected void |
addHtmlBody(HtmlDocumentBuilder builder) |
protected void |
addHtmlHead(HtmlDocumentBuilder builder) |
protected void |
addHtmlSection(HtmlDocumentBuilder builder,
String title,
Object section,
int level) |
protected void |
addHtmlSections(HtmlDocumentBuilder builder,
Map<String,Object> sections,
int level) |
protected void |
addHtmlTable(HtmlDocumentBuilder builder,
TabularResultSet resultSet) |
SectionedHtmlReportBuilder |
addSection(String title,
Object section) |
String |
execute() |
public SectionedHtmlReportBuilder(String reportName)
public SectionedHtmlReportBuilder addSection(String title, Object section)
public String execute()
protected void addHtmlHead(HtmlDocumentBuilder builder)
protected void addHtmlBody(HtmlDocumentBuilder builder)
protected void addHtmlSections(HtmlDocumentBuilder builder, Map<String,Object> sections, int level)
protected void addHtmlSection(HtmlDocumentBuilder builder, String title, Object section, int level)
protected void addHtmlTable(HtmlDocumentBuilder builder, TabularResultSet resultSet)
Copyright © 2017. All rights reserved.