static DumpSettingsBuilder |
DumpSettings.builder() |
|
DumpSettingsBuilder |
DumpSettingsBuilder.setAnchorGenerator(AnchorGenerator anchorGenerator) |
Define anchor name generator (by default 'id' + number)
|
DumpSettingsBuilder |
DumpSettingsBuilder.setBestLineBreak(java.lang.String bestLineBreak) |
If the YAML is created for another platform (for instance on Windows to be consumed under
Linux) than this setting is used to define the line ending.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setCanonical(boolean canonical) |
Enforce canonical representation
|
DumpSettingsBuilder |
DumpSettingsBuilder.setCustomProperty(SettingKey key,
java.lang.Object value) |
Custom property is the way to give some runtime parameters to be used during dumping
|
DumpSettingsBuilder |
DumpSettingsBuilder.setDefaultFlowStyle(FlowStyle defaultFlowStyle) |
Define flow style
|
DumpSettingsBuilder |
DumpSettingsBuilder.setDefaultScalarStyle(ScalarStyle defaultScalarStyle) |
Define default scalar style
|
DumpSettingsBuilder |
DumpSettingsBuilder.setDumpComments(boolean dumpComments) |
Set to true to add comments from Nodes to
|
DumpSettingsBuilder |
DumpSettingsBuilder.setExplicitEnd(boolean explicitEnd) |
Add '...' in the end of the document
|
DumpSettingsBuilder |
DumpSettingsBuilder.setExplicitRootTag(java.util.Optional<Tag> explicitRootTag) |
Define root Tag or let the tag to be detected automatically
|
DumpSettingsBuilder |
DumpSettingsBuilder.setExplicitStart(boolean explicitStart) |
Add '---' in the beginning of the document
|
DumpSettingsBuilder |
DumpSettingsBuilder.setIndent(int indent) |
Define the amount of the spaces for the indent in the block flow style.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setIndentWithIndicator(boolean indentWithIndicator) |
Set to true to add the indent for sequences to the general indent
|
DumpSettingsBuilder |
DumpSettingsBuilder.setIndicatorIndent(int indicatorIndent) |
It adds the specified indent for sequence indicator in the block flow.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setMaxSimpleKeyLength(int maxSimpleKeyLength) |
Define max key length to use simple key (without '?').
|
DumpSettingsBuilder |
DumpSettingsBuilder.setMultiLineFlow(boolean multiLineFlow) |
Use pretty flow style when every value in the flow context gets a separate line.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setNonPrintableStyle(NonPrintableStyle nonPrintableStyle) |
When String object contains non-printable characters, they are escaped with \\u or \\x
notation.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setSchema(Schema schema) |
|
DumpSettingsBuilder |
DumpSettingsBuilder.setSplitLines(boolean splitLines) |
Define whether to split long lines
|
DumpSettingsBuilder |
DumpSettingsBuilder.setTagDirective(java.util.Map<java.lang.String,java.lang.String> tagDirective) |
|
DumpSettingsBuilder |
DumpSettingsBuilder.setUseUnicodeEncoding(boolean useUnicodeEncoding) |
Specify whether to emit non-ASCII printable Unicode characters (emit Unicode char or escape
sequence starting with '\\u') The default value is true.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setWidth(int width) |
Set max width for literal scalars.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setYamlDirective(java.util.Optional<SpecVersion> yamlDirective) |
|