public class DefaultHtmlConfig extends DefaultXmlConfig implements HtmlConfig
DEFAULT_FIRST_LEVEL, DEFAULT_INTENDATION, DEFAULT_NEW_LINE, doctype, REQUIRED_MSG| Constructor and Description |
|---|
DefaultHtmlConfig() |
| Modifier and Type | Method and Description |
|---|---|
CharSequence[] |
getCssLinks() |
String |
getDoctype()
A header declaration of the document or a doctype
|
Optional<CharSequence> |
getLanguage() |
CharSequence |
getTitle()
Title is a required element by HTML 5
|
void |
setCssLinks(CharSequence... cssLinks) |
void |
setLanguage(CharSequence language) |
void |
setTitle(CharSequence title)
Title is a required element by HTML 5
|
getDefaultValue, getFirstLevel, getCharset, getIndentation, getNewLine, isCacheAllowed, isDom, nonnull, setCacheAllowed, setCompressedFormat, setDefaultValue, setDoctype, setDom, setFirstLevel, setCharset, setIndentationSpace, setNewLine, setNiceFormat, setNiceFormatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofDefaultgetDefaultValue, getFirstLevel, getCharset, getIndentation, getNewLine, isCacheAllowed, isDom@Nonnull public String getDoctype()
DefaultXmlConfiggetDoctype in interface XmlConfiggetDoctype in class DefaultXmlConfig@Nonnull public CharSequence getTitle()
HtmlConfiggetTitle in interface HtmlConfigpublic CharSequence[] getCssLinks()
getCssLinks in interface HtmlConfig@Nonnull public Optional<CharSequence> getLanguage()
getLanguage in interface HtmlConfigpublic void setTitle(@Nonnull CharSequence title)
public void setCssLinks(@Nonnull CharSequence... cssLinks)
public void setLanguage(@Nonnull CharSequence language)
Copyright 2015, Pavel Ponec