Package org.snakeyaml.engine.v2.api
Class LoadSettings
java.lang.Object
org.snakeyaml.engine.v2.api.LoadSettings
Immutable configuration for loading. Description for all the fields can be found in the builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
private final Integer
private final int
private final Map
<SettingKey, Object> private final IntFunction
<List<Object>> private final IntFunction
<Map<Object, Object>> private final IntFunction
<Set<Object>> private final String
private final int
private final boolean
private final Schema
private final Map
<Tag, ConstructNode> private final boolean
private final UnaryOperator
<SpecVersion> -
Constructor Summary
ConstructorsConstructorDescriptionLoadSettings
(String label, Map<Tag, ConstructNode> tagConstructors, IntFunction<List<Object>> defaultList, IntFunction<Set<Object>> defaultSet, IntFunction<Map<Object, Object>> defaultMap, UnaryOperator<SpecVersion> versionFunction, Integer bufferSize, boolean allowDuplicateKeys, boolean allowRecursiveKeys, int maxAliasesForCollections, boolean useMarks, Map<SettingKey, Object> customProperties, Optional<EnvConfig> envConfig, boolean parseComments, int codePointLimit, Schema schema) -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadSettingsBuilder
builder()
Create the builderboolean
boolean
int
getLabel()
int
boolean
boolean
-
Field Details
-
label
-
tagConstructors
-
defaultList
-
defaultSet
-
defaultMap
-
versionFunction
-
bufferSize
-
allowDuplicateKeys
private final boolean allowDuplicateKeys -
allowRecursiveKeys
private final boolean allowRecursiveKeys -
parseComments
private final boolean parseComments -
maxAliasesForCollections
private final int maxAliasesForCollections -
useMarks
private final boolean useMarks -
envConfig
-
codePointLimit
private final int codePointLimit -
schema
-
customProperties
-
-
Constructor Details
-
LoadSettings
LoadSettings(String label, Map<Tag, ConstructNode> tagConstructors, IntFunction<List<Object>> defaultList, IntFunction<Set<Object>> defaultSet, IntFunction<Map<Object, Object>> defaultMap, UnaryOperator<SpecVersion> versionFunction, Integer bufferSize, boolean allowDuplicateKeys, boolean allowRecursiveKeys, int maxAliasesForCollections, boolean useMarks, Map<SettingKey, Object> customProperties, Optional<EnvConfig> envConfig, boolean parseComments, int codePointLimit, Schema schema)
-
-
Method Details
-
builder
Create the builder- Returns:
- the builder to fill the configuration options
-
getLabel
-
getTagConstructors
-
getDefaultList
-
getDefaultSet
-
getDefaultMap
-
getBufferSize
-
getAllowDuplicateKeys
public boolean getAllowDuplicateKeys() -
getAllowRecursiveKeys
public boolean getAllowRecursiveKeys() -
getUseMarks
public boolean getUseMarks() -
getVersionFunction
-
getCustomProperty
-
getMaxAliasesForCollections
public int getMaxAliasesForCollections() -
getEnvConfig
-
getParseComments
public boolean getParseComments() -
getCodePointLimit
public int getCodePointLimit() -
getSchema
-