Uses of Class
org.snakeyaml.engine.v2.api.LoadSettingsBuilder
Packages that use LoadSettingsBuilder
-
Uses of LoadSettingsBuilder in org.snakeyaml.engine.v2.api
Methods in org.snakeyaml.engine.v2.api that return LoadSettingsBuilderModifier and TypeMethodDescriptionstatic LoadSettingsBuilderLoadSettings.builder()Create the builderLoadSettingsBuilder.setAllowDuplicateKeys(boolean allowDuplicateKeys) YAML 1.2 does require unique keys.LoadSettingsBuilder.setAllowRecursiveKeys(boolean allowRecursiveKeys) Allow only non-recursive keys for maps and sets.LoadSettingsBuilder.setBufferSize(Integer bufferSize) Buffer size for incoming data stream.LoadSettingsBuilder.setCodePointLimit(int codePointLimit) The max amount of code points for every input YAML document in the stream.LoadSettingsBuilder.setCustomProperty(SettingKey key, Object value) Provide a custom property to be used laterLoadSettingsBuilder.setDefaultList(IntFunction<List<Object>> defaultList) Provide default List implementation.LoadSettingsBuilder.setDefaultMap(IntFunction<Map<Object, Object>> defaultMap) Provide default Map implementation.LoadSettingsBuilder.setDefaultSet(IntFunction<Set<Object>> defaultSet) Provide default Set implementation.LoadSettingsBuilder.setEnvConfig(Optional<EnvConfig> envConfig) Define EnvConfig to parse EVN format.Label for the input data.LoadSettingsBuilder.setMaxAliasesForCollections(int maxAliasesForCollections) Restrict the number of aliases for collection nodes to prevent Billion laughs attack.LoadSettingsBuilder.setParseComments(boolean parseComments) Parse comments to the presentation tree (Node).Provide either recommended or custom schema instead of default *CoreSchemaThese 3 are availableFailsafeSchema,JsonSchema,CoreSchema.LoadSettingsBuilder.setTagConstructors(Map<Tag, ConstructNode> tagConstructors) Provide constructors for the specified tags.LoadSettingsBuilder.setUseMarks(boolean useMarks) Marks are only used for error messages.LoadSettingsBuilder.setVersionFunction(UnaryOperator<SpecVersion> versionFunction) Manage YAML directive value which defines the version of the YAML specification.