| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_INDENT
The default value for
setIndent(String) (4 spaces) |
| Constructor and Description |
|---|
HtmlRenderer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCaption() |
java.lang.String |
getIndent() |
void |
render(Table<?> table,
java.lang.Appendable out)
Renders the given table into the given appendable.
|
HtmlRenderer |
setCaption(java.lang.String caption) |
HtmlRenderer |
setIndent(java.lang.String indent) |
public static final java.lang.String DEFAULT_INDENT
setIndent(String) (4 spaces)public java.lang.String getCaption()
null if unsetsetCaption(String)public HtmlRenderer setCaption(java.lang.String caption)
caption - the caption to use within <caption>...</caption>, which is required in JavaDoc;
can be null to omit the elementpublic java.lang.String getIndent()
setIndent(String)public HtmlRenderer setIndent(java.lang.String indent)
indent - the string to indent nested tags; defaults to DEFAULT_INDENT