public interface XmlConfig
| Modifier and Type | Method and Description |
|---|---|
@NotNull CharSequence |
getDefaultValue()
A replacement text instead of the
null value |
@NotNull CharSequence |
getDoctype()
Doctype
|
int |
getFirstLevel()
Level of the root element, the value may be negative.
|
@NotNull Formatter |
getFormatter()
Get a value formatter
|
@NotNull Charset |
getCharset()
Charset
|
CharSequence |
getIndentation()
New line
|
@NotNull CharSequence |
getNewLine()
A new line sequence
|
boolean |
isCacheAllowed()
HTTP cache is allowed
|
static DefaultXmlConfig |
ofDefault()
Create a new default config
|
static DefaultXmlConfig |
ofDoctype(@Nullable String doctype)
Create a new default config
|
@NotNull @NotNull CharSequence getDoctype()
@NotNull @NotNull Charset getCharset()
int getFirstLevel()
CharSequence getIndentation()
@NotNull @NotNull CharSequence getDefaultValue()
null value@NotNull @NotNull CharSequence getNewLine()
boolean isCacheAllowed()
@NotNull @NotNull Formatter getFormatter()
static DefaultXmlConfig ofDefault()
static DefaultXmlConfig ofDoctype(@Nullable @Nullable String doctype)
Copyright 2015, Pavel Ponec