java.lang.Object
org.jooq.XMLFormat
An XML formatting type, which can be used to configure XML imports / exports.
 
 The type is immutable, meaning calls to setters like header(boolean)
 do not modify the original reference, but return a new one instead.
- Author:
- Lukas Eder
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe format of array values.static enumThe format of anullvalue.static enumThe format of individual XML records.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal XMLFormat.ArrayFormatThe representation of array types.final @NotNull XMLFormatarrayFormat(XMLFormat.ArrayFormat newArrayFormat) The representation of array types.final booleanformat()The formatting flag.final @NotNull XMLFormatformat(boolean newFormat) The new value for the formatting flag, defaulting tofalse.final intThe global indentation applied on all levels.final @NotNull XMLFormatglobalIndent(int newGlobalIndent) The new global indentation size applied on all levels, defaulting to0.final booleanheader()The header.final @NotNull XMLFormatheader(boolean newHeader) The new header value, defaulting totrue.final intindent()The indentation size per level.final @NotNull XMLFormatindent(int newIndent) The new indentation size per level value, defaulting to2.final @NotNull StringindentString(int level) Convenience method to get an indentation string at a given level.final booleanmutable()Whether this configuration object is mutable.final @NotNull XMLFormatmutable(boolean newMutable) The new value for the mutable flag, defaulting tofalse.final @NotNull Stringnewline()The formatting flag.final @NotNull XMLFormatThe new newline character, defaulting to\n.final XMLFormat.NullFormatWhether nestedXMLcontent should be quoted like a string, or nested into XML formatted output.final @NotNull XMLFormatnullFormat(XMLFormat.NullFormat newNullFormat) Whether nestedXMLcontent should be quoted like a string, or nested into XML formatted output.final booleanWhether nestedXMLcontent should be quoted like a string, or nested into XML formatted output.final @NotNull XMLFormatquoteNested(boolean newQuoteNested) Whether nestedXMLcontent should be quoted like a string, or nested into XML formatted output.final @NotNull XMLFormat.RecordFormatThe record format to be applied, defaulting toXMLFormat.RecordFormat.VALUE_ELEMENTS_WITH_FIELD_ATTRIBUTE.final @NotNull XMLFormatrecordFormat(XMLFormat.RecordFormat newRecordFormat) The record format to be applied, defaulting toXMLFormat.RecordFormat.VALUE_ELEMENTS_WITH_FIELD_ATTRIBUTE.final Stringredacted()The string value to show for redacted content.final @NotNull XMLFormatThe string value to show for redacted content.final booleanxmlns()The xmlns flag.final @NotNull XMLFormatxmlns(boolean newXmlns) The new value for the xmlns flag, defaulting totrue.
- 
Field Details- 
DEFAULT_FOR_RESULTS
- 
DEFAULT_FOR_RECORDS
 
- 
- 
Constructor Details- 
XMLFormatpublic XMLFormat()
 
- 
- 
Method Details- 
mutablepublic final boolean mutable()Whether this configuration object is mutable.
- 
mutableThe new value for the mutable flag, defaulting tofalse.
- 
redactedThe string value to show for redacted content.
- 
redactedThe string value to show for redacted content.
- 
xmlnsThe new value for the xmlns flag, defaulting totrue.
- 
xmlnspublic final boolean xmlns()The xmlns flag.
- 
formatThe new value for the formatting flag, defaulting tofalse.
- 
formatpublic final boolean format()The formatting flag.
- 
newlineThe new newline character, defaulting to\n.
- 
newlineThe formatting flag.
- 
globalIndentThe new global indentation size applied on all levels, defaulting to0.
- 
globalIndentpublic final int globalIndent()The global indentation applied on all levels.
- 
indentThe new indentation size per level value, defaulting to2.
- 
indentpublic final int indent()The indentation size per level.
- 
indentStringConvenience method to get an indentation string at a given level.
- 
headerThe new header value, defaulting totrue.This flag governs whether the /result/fieldselement should be generated on export.This flag is ignored on Formattable.formatXML(XMLFormat)and similar methods.
- 
headerpublic final boolean header()The header.
- 
recordFormatThe record format to be applied, defaulting toXMLFormat.RecordFormat.VALUE_ELEMENTS_WITH_FIELD_ATTRIBUTE.
- 
recordFormatThe record format to be applied, defaulting toXMLFormat.RecordFormat.VALUE_ELEMENTS_WITH_FIELD_ATTRIBUTE.
- 
quoteNestedWhether nestedXMLcontent should be quoted like a string, or nested into XML formatted output.
- 
quoteNestedpublic final boolean quoteNested()Whether nestedXMLcontent should be quoted like a string, or nested into XML formatted output.
- 
nullFormatWhether nestedXMLcontent should be quoted like a string, or nested into XML formatted output.
- 
nullFormatWhether nestedXMLcontent should be quoted like a string, or nested into XML formatted output.
- 
arrayFormatThe representation of array types.
- 
arrayFormatThe representation of array types.
 
-