public interface HtmlConfig extends XmlConfig
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Get a content type where a recommended value is
"text/html" |
CharSequence[] |
getCssLinks()
CSS links of a HTML page
|
Optional<CharSequence> |
getLanguage()
Language of a HTML page
|
CharSequence |
getTitle()
Title is a required element by HTML 5
|
boolean |
isDocumentObjectModel()
Build a real model or a plain writer with a recommended value
false |
static DefaultHtmlConfig |
ofDefault()
Create a new default config
|
getDefaultValue, getDoctype, getFirstLevel, getFormatter, getCharset, getIndentation, getNewLine, isCacheAllowed
@Nonnull CharSequence getTitle()
@Nonnull CharSequence[] getCssLinks()
@Nonnull Optional<CharSequence> getLanguage()
@Nonnull String getContentType()
"text/html"
boolean isDocumentObjectModel()
false
@Nonnull static DefaultHtmlConfig ofDefault()
Copyright 2019-2022, Pavel Ponec