public static class HtmlLayout.Builder extends java.lang.Object implements Builder<HtmlLayout>
Modifier and Type | Field and Description |
---|---|
private java.nio.charset.Charset |
charset |
private java.lang.String |
contentType |
private java.lang.String |
fontName |
private HtmlLayout.FontSize |
fontSize |
private boolean |
locationInfo |
private java.lang.String |
title |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
Modifier and Type | Method and Description |
---|---|
HtmlLayout |
build()
Builds the object after all configuration has been set.
|
HtmlLayout.Builder |
withCharset(java.nio.charset.Charset charset) |
HtmlLayout.Builder |
withContentType(java.lang.String contentType) |
HtmlLayout.Builder |
withFontName(java.lang.String fontName) |
HtmlLayout.Builder |
withFontSize(HtmlLayout.FontSize fontSize) |
HtmlLayout.Builder |
withLocationInfo(boolean locationInfo) |
HtmlLayout.Builder |
withTitle(java.lang.String title) |
@PluginBuilderAttribute private boolean locationInfo
@PluginBuilderAttribute private java.lang.String title
@PluginBuilderAttribute private java.lang.String contentType
@PluginBuilderAttribute private java.nio.charset.Charset charset
@PluginBuilderAttribute private HtmlLayout.FontSize fontSize
@PluginBuilderAttribute private java.lang.String fontName
public HtmlLayout.Builder withLocationInfo(boolean locationInfo)
public HtmlLayout.Builder withTitle(java.lang.String title)
public HtmlLayout.Builder withContentType(java.lang.String contentType)
public HtmlLayout.Builder withCharset(java.nio.charset.Charset charset)
public HtmlLayout.Builder withFontSize(HtmlLayout.FontSize fontSize)
public HtmlLayout.Builder withFontName(java.lang.String fontName)
public HtmlLayout build()
Builder
build
in interface Builder<HtmlLayout>