Package org.snakeyaml.engine.v2.api
Class DumpSettings
- java.lang.Object
-
- org.snakeyaml.engine.v2.api.DumpSettings
-
public final class DumpSettings extends Object
Fine tuning serializing/dumping 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 DumpSettingsBuilder
builder()
AnchorGenerator
getAnchorGenerator()
String
getBestLineBreak()
Object
getCustomProperty(SettingKey key)
FlowStyle
getDefaultFlowStyle()
ScalarStyle
getDefaultScalarStyle()
Optional<Tag>
getExplicitRootTag()
int
getIndent()
boolean
getIndentWithIndicator()
int
getIndicatorIndent()
int
getMaxSimpleKeyLength()
NonPrintableStyle
getNonPrintableStyle()
ScalarResolver
getScalarResolver()
Map<String,String>
getTagDirective()
int
getWidth()
Optional<SpecVersion>
getYamlDirective()
boolean
isCanonical()
boolean
isExplicitEnd()
boolean
isExplicitStart()
boolean
isMultiLineFlow()
boolean
isSplitLines()
boolean
isUseUnicodeEncoding()
-
-
-
Method Detail
-
builder
public static DumpSettingsBuilder builder()
-
getDefaultFlowStyle
public FlowStyle getDefaultFlowStyle()
-
getDefaultScalarStyle
public ScalarStyle getDefaultScalarStyle()
-
isExplicitStart
public boolean isExplicitStart()
-
getAnchorGenerator
public AnchorGenerator getAnchorGenerator()
-
getScalarResolver
public ScalarResolver getScalarResolver()
-
isExplicitEnd
public boolean isExplicitEnd()
-
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()
-
-