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