Package org.snakeyaml.engine.v2.api
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DumpSettingsBuilderbuilder()AnchorGeneratorgetAnchorGenerator()StringgetBestLineBreak()ObjectgetCustomProperty(SettingKey key)FlowStylegetDefaultFlowStyle()ScalarStylegetDefaultScalarStyle()booleangetDumpComments()Optional<org.snakeyaml.engine.v2.nodes.Tag>getExplicitRootTag()intgetIndent()booleangetIndentWithIndicator()intgetIndicatorIndent()intgetMaxSimpleKeyLength()NonPrintableStylegetNonPrintableStyle()SchemagetSchema()Map<String,String>getTagDirective()intgetWidth()Optional<SpecVersion>getYamlDirective()booleanisCanonical()booleanisExplicitEnd()booleanisExplicitStart()booleanisMultiLineFlow()booleanisSplitLines()booleanisUseUnicodeEncoding()
-
-
-
Method Detail
-
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<org.snakeyaml.engine.v2.nodes.Tag> getExplicitRootTag()
-
getYamlDirective
public Optional<SpecVersion> getYamlDirective()
-
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()
-
-