public class HtmlCreator extends Object
构造器和说明 |
---|
HtmlCreator() |
限定符和类型 | 方法和说明 |
---|---|
HtmlCreator |
add(String text) |
HtmlCreator |
addBold(String text) |
HtmlCreator |
addRowToTable(List<String> rowElements) |
HtmlCreator |
addTableWithHeaders(List<String> headers) |
HtmlCreator |
br() |
HtmlCreator |
center(String text) |
HtmlCreator |
centerHeadings() |
HtmlCreator |
endP() |
HtmlCreator |
endStyle() |
HtmlCreator |
endTable() |
HtmlCreator |
h1(String heading) |
HtmlCreator |
h2(String heading) |
HtmlCreator |
hr() |
String |
html() |
HtmlCreator |
paragraph(String paragraph) |
HtmlCreator |
startP() |
HtmlCreator |
startStyle() |
HtmlCreator |
styleTables() |
HtmlCreator |
title(String title) |
String |
toString() |
public HtmlCreator title(String title)
public HtmlCreator h1(String heading)
public HtmlCreator h2(String heading)
public HtmlCreator paragraph(String paragraph)
public HtmlCreator startP()
public HtmlCreator addBold(String text)
public HtmlCreator endP()
public HtmlCreator hr()
public HtmlCreator br()
public HtmlCreator addTableWithHeaders(List<String> headers)
public HtmlCreator addRowToTable(List<String> rowElements)
public HtmlCreator endTable()
public HtmlCreator startStyle()
public HtmlCreator endStyle()
public HtmlCreator centerHeadings()
public HtmlCreator add(String text)
public HtmlCreator styleTables()
public HtmlCreator center(String text)
public String html()
Copyright © 2017. All rights reserved.