Class DumpSettings

java.lang.Object
org.snakeyaml.engine.v2.api.DumpSettings

public final class DumpSettings extends Object
Immutable configuration for serialisation. Description for all the fields can be found in the builder
  • Method Details

    • builder

      public static DumpSettingsBuilder builder()
    • getDefaultFlowStyle

      public FlowStyle getDefaultFlowStyle()
    • getDefaultScalarStyle

      public ScalarStyle getDefaultScalarStyle()
    • isExplicitStart

      public boolean isExplicitStart()
    • getAnchorGenerator

      public AnchorGenerator getAnchorGenerator()
    • isExplicitEnd

      public boolean isExplicitEnd()
    • getExplicitRootTag

      public Optional<Tag> getExplicitRootTag()
    • getYamlDirective

      public Optional<SpecVersion> getYamlDirective()
    • getTagDirective

      public Map<String,String> getTagDirective()
    • isCanonical

      public boolean isCanonical()
    • isMultiLineFlow

      public boolean isMultiLineFlow()
    • isUseUnicodeEncoding

      public boolean isUseUnicodeEncoding()
    • getIndent

      public int getIndent()
    • getIndicatorIndent

      public int getIndicatorIndent()
    • getWidth

      public int getWidth()
    • getBestLineBreak

      public String getBestLineBreak()
    • isSplitLines

      public boolean isSplitLines()
    • getMaxSimpleKeyLength

      public int getMaxSimpleKeyLength()
    • getNonPrintableStyle

      public NonPrintableStyle getNonPrintableStyle()
    • getCustomProperty

      public Object getCustomProperty(SettingKey key)
    • getIndentWithIndicator

      public boolean getIndentWithIndicator()
    • getDumpComments

      public boolean getDumpComments()
    • getSchema

      public Schema getSchema()