The type is immutable, meaning calls to setters like header(boolean)
do not modify the original reference, but return a new one instead.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | XMLFormat.RecordFormat
The format of individual XML records. |
| Modifier and Type | Field and Description |
|---|---|
| public static final XMLFormat | |
| public static final XMLFormat | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv String[] | |
| pack-priv final boolean | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv XMLFormat. | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| private | XMLFormat(boolean mutable, boolean xmlns, boolean format, String newline, int globalIndent, int indent, String[] indented, boolean header, XMLFormat.
|
| Modifier and Type | Method and Description |
|---|---|
| public final @NotNull XMLFormat | |
| public final boolean | |
| public final @NotNull XMLFormat | globalIndent(int newGlobalIndent)
The new global indentation size applied on all levels, defaulting to |
| public final int | |
| public final @NotNull XMLFormat | |
| public final boolean | |
| public final @NotNull XMLFormat | |
| public final int | |
| public final @NotNull String | |
| public final boolean | |
| public final @NotNull XMLFormat | |
| public final @NotNull XMLFormat | |
| public final @NotNull String | |
| public final @NotNull XMLFormat | quoteNested(boolean newQuoteNested)
Whether nested |
| public final boolean | quoteNested()
Whether nested |
| public final @NotNull XMLFormat | recordFormat(XMLFormat.
The record format to be applied, defaulting to
|
| public final @NotNull XMLFormat. | recordFormat()
The record format to be applied, defaulting to
|
| public final @NotNull XMLFormat | |
| public final boolean |
| DEFAULT_FOR_RECORDS | back to summary |
|---|---|
| public static final XMLFormat DEFAULT_FOR_RECORDS | |
| DEFAULT_FOR_RESULTS | back to summary |
|---|---|
| public static final XMLFormat DEFAULT_FOR_RESULTS | |
| format | back to summary |
|---|---|
| pack-priv boolean format | |
| globalIndent | back to summary |
|---|---|
| pack-priv int globalIndent | |
| header | back to summary |
|---|---|
| pack-priv boolean header | |
| indent | back to summary |
|---|---|
| pack-priv int indent | |
| indented | back to summary |
|---|---|
| pack-priv String[] indented | |
| mutable | back to summary |
|---|---|
| pack-priv final boolean mutable | |
| newline | back to summary |
|---|---|
| pack-priv String newline | |
| quoteNested | back to summary |
|---|---|
| pack-priv boolean quoteNested | |
| recordFormat | back to summary |
|---|---|
| pack-priv XMLFormat. | |
| xmlns | back to summary |
|---|---|
| pack-priv boolean xmlns | |
| XMLFormat | back to summary |
|---|---|
| public XMLFormat() | |
| XMLFormat | back to summary |
|---|---|
| private XMLFormat(boolean mutable, boolean xmlns, boolean format, String newline, int globalIndent, int indent, String[] indented, boolean header, XMLFormat. | |
| format | back to summary |
|---|---|
| public final @NotNull XMLFormat format(boolean newFormat) The new value for the formatting flag, defaulting to
| |
| format | back to summary |
|---|---|
| public final boolean format() The formatting flag. | |
| globalIndent | back to summary |
|---|---|
| public final @NotNull XMLFormat globalIndent(int newGlobalIndent) The new global indentation size applied on all levels, defaulting to
| |
| globalIndent | back to summary |
|---|---|
| public final int globalIndent() The global indentation applied on all levels. | |
| header | back to summary |
|---|---|
| public final @NotNull XMLFormat header(boolean newHeader) The new header value, defaulting to
This flag governs whether the
This flag is ignored on
| |
| header | back to summary |
|---|---|
| public final boolean header() The header. | |
| indent | back to summary |
|---|---|
| public final @NotNull XMLFormat indent(int newIndent) The new indentation size per level value, defaulting to
| |
| indent | back to summary |
|---|---|
| public final int indent() The indentation size per level. | |
| indentString | back to summary |
|---|---|
| public final @NotNull String indentString(int level) Convenience method to get an indentation string at a given level.
| |
| mutable | back to summary |
|---|---|
| public final boolean mutable() Whether this configuration object is mutable. | |
| mutable | back to summary |
|---|---|
| public final @NotNull XMLFormat mutable(boolean newMutable) The new value for the mutable flag, defaulting to
| |
| newline | back to summary |
|---|---|
| public final @NotNull XMLFormat newline(String newNewline) The new newline character, defaulting to
| |
| newline | back to summary |
|---|---|
| public final @NotNull String newline() The formatting flag.
| |
| quoteNested | back to summary |
|---|---|
| public final @NotNull XMLFormat quoteNested(boolean newQuoteNested) Whether nested
| |
| quoteNested | back to summary |
|---|---|
| public final boolean quoteNested() Whether nested | |
| recordFormat | back to summary |
|---|---|
| public final @NotNull XMLFormat recordFormat(XMLFormat. The record format to be applied, defaulting to
| |
| recordFormat | back to summary |
|---|---|
| public final @NotNull XMLFormat. The record format to be applied, defaulting to
| |
| xmlns | back to summary |
|---|---|
| public final @NotNull XMLFormat xmlns(boolean newXmlns) The new value for the xmlns flag, defaulting to
| |
| xmlns | back to summary |
|---|---|
| public final boolean xmlns() The xmlns flag. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final XMLFormat. | COLUMN_NAME_ELEMENTS
Simplified: |
| public static final XMLFormat. | VALUE_ELEMENTS
Simplified: |
| public static final XMLFormat. | VALUE_ELEMENTS_WITH_FIELD_ATTRIBUTE
The default: |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static XMLFormat. | |
| public static XMLFormat. |
| COLUMN_NAME_ELEMENTS | back to summary |
|---|---|
| public static final XMLFormat. Simplified: | |
| VALUE_ELEMENTS | back to summary |
|---|---|
| public static final XMLFormat. Simplified: | |
| VALUE_ELEMENTS_WITH_FIELD_ATTRIBUTE | back to summary |
|---|---|
| public static final XMLFormat. The default: | |
| RecordFormat | back to summary |
|---|---|
| private RecordFormat() | |
| valueOf | back to summary |
|---|---|
| public static XMLFormat. | |
| values | back to summary |
|---|---|
| public static XMLFormat. | |