| 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(@NotNull HtmlConfig htmlConfig)
Clone config form another
|
static @NotNull DefaultHtmlConfig |
HtmlConfig.ofDefault()
Create a new default config
|
static @NotNull DefaultHtmlConfig |
HtmlConfig.ofElement(@Nullable String rootElementName,
boolean enabled)
No HTML header is generated, no Doctype and no new lines
|
static @NotNull DefaultHtmlConfig |
HtmlConfig.ofElementName(@Nullable String rootElementName)
No HTML header is generated, no Doctype and no new lines
|
static @NotNull DefaultHtmlConfig |
HtmlConfig.ofEmptyElement()
Create a configuration for an AJAX response.
|
static DefaultHtmlConfig |
HtmlConfig.ofTitle(@NotNull String title)
Create a new configuration with a nice format by an HTML title.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultHtmlConfig |
DefaultHtmlConfig.setContentType(@NotNull 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(@NotNull ApiInjector headerInjector)
Assign a new header injector
|
DefaultHtmlConfig |
DefaultHtmlConfig.setHtmlHeader(boolean htmlHeaderRequest)
A request to generate a minimal HTML header
|
DefaultHtmlConfig |
DefaultHtmlConfig.setLanguage(@NotNull CharSequence language) |
DefaultHtmlConfig |
DefaultHtmlConfig.setRawHedaderCode(@Nullable String rawHeaderText)
Deprecated.
|
DefaultHtmlConfig |
DefaultHtmlConfig.setRootElementName(@Nullable String rootElementName)
The element name must not be special HTML characters.
|
DefaultHtmlConfig |
DefaultHtmlConfig.setTitle(@NotNull CharSequence title)
Title is a required element by HTML 5
|
Copyright 2015, Pavel Ponec