Package | Description |
---|---|
org.ujorm.tools.xml.config | |
org.ujorm.tools.xml.config.impl |
Modifier and Type | Method and Description |
---|---|
default DefaultHtmlConfig |
HtmlConfig.cloneForAjax()
Clone the config for an AJAX processing
|
static DefaultHtmlConfig |
HtmlConfig.of(HtmlConfig htmlConfig)
Clone config form another
|
static DefaultHtmlConfig |
HtmlConfig.ofDefault()
Create a new default config
|
static DefaultHtmlConfig |
HtmlConfig.ofElement(String rootElementName,
boolean enabled)
No HTML header is generated, no Doctype and no new lines
|
static DefaultHtmlConfig |
HtmlConfig.ofElementName(String rootElementName)
No HTML header is generated, no Doctype and no new lines
|
static DefaultHtmlConfig |
HtmlConfig.ofEmptyElement()
Create a configuration for an AJAX response.
|
Modifier and Type | Method and Description |
---|---|
DefaultHtmlConfig |
DefaultHtmlConfig.setContentType(String contentType) |
DefaultHtmlConfig |
DefaultHtmlConfig.setCssLinks(CharSequence... cssLinks) |
DefaultHtmlConfig |
DefaultHtmlConfig.setDocumentObjectModel(boolean buildDom)
Build a real model or a plain writer, the default value is
false |
DefaultHtmlConfig |
DefaultHtmlConfig.setHeaderInjector(ApiInjector headerInjector)
Assign a new header injector
|
DefaultHtmlConfig |
DefaultHtmlConfig.setHtmlHeader(boolean htmlHeaderRequest)
A request to generate a minimal HTML header
|
DefaultHtmlConfig |
DefaultHtmlConfig.setLanguage(CharSequence language) |
DefaultHtmlConfig |
DefaultHtmlConfig.setRawHedaderCode(String rawHeaderText)
Deprecated.
|
DefaultHtmlConfig |
DefaultHtmlConfig.setRootElementName(String rootElementName)
The element name must not be special HTML characters.
|
DefaultHtmlConfig |
DefaultHtmlConfig.setTitle(CharSequence title)
Title is a required element by HTML 5
|
Copyright 2019-2022, Pavel Ponec