Uses of Interface
org.snakeyaml.engine.v2.schema.Schema
-
Packages that use Schema Package Description org.snakeyaml.engine.v2.api org.snakeyaml.engine.v2.schema -
-
Uses of Schema in org.snakeyaml.engine.v2.api
Fields in org.snakeyaml.engine.v2.api declared as Schema Modifier and Type Field Description private Schema
DumpSettings. schema
private Schema
DumpSettingsBuilder. schema
private Schema
LoadSettings. schema
private Schema
LoadSettingsBuilder. schema
Methods in org.snakeyaml.engine.v2.api that return Schema Modifier and Type Method Description Schema
DumpSettings. getSchema()
Schema
LoadSettings. getSchema()
Methods in org.snakeyaml.engine.v2.api with parameters of type Schema Modifier and Type Method Description DumpSettingsBuilder
DumpSettingsBuilder. setSchema(Schema schema)
Provide either recommended or custom schema instead of defaultJsonSchema
.LoadSettingsBuilder
LoadSettingsBuilder. setSchema(Schema schema)
Provide either recommended or custom schema instead of default *CoreSchema
These 3 are availableFailsafeSchema
,JsonSchema
,CoreSchema
.Constructors in org.snakeyaml.engine.v2.api with parameters of type Schema Constructor Description DumpSettings(boolean explicitStart, boolean explicitEnd, java.util.Optional<Tag> explicitRootTag, AnchorGenerator anchorGenerator, java.util.Optional<SpecVersion> yamlDirective, java.util.Map<java.lang.String,java.lang.String> tagDirective, FlowStyle defaultFlowStyle, ScalarStyle defaultScalarStyle, NonPrintableStyle nonPrintableStyle, Schema schema, boolean canonical, boolean multiLineFlow, boolean useUnicodeEncoding, int indent, int indicatorIndent, int width, java.lang.String bestLineBreak, boolean splitLines, int maxSimpleKeyLength, java.util.Map<SettingKey,java.lang.Object> customProperties, boolean indentWithIndicator, boolean dumpComments)
LoadSettings(java.lang.String label, java.util.Map<Tag,ConstructNode> tagConstructors, java.util.function.IntFunction<java.util.List<java.lang.Object>> defaultList, java.util.function.IntFunction<java.util.Set<java.lang.Object>> defaultSet, java.util.function.IntFunction<java.util.Map<java.lang.Object,java.lang.Object>> defaultMap, java.util.function.UnaryOperator<SpecVersion> versionFunction, java.lang.Integer bufferSize, boolean allowDuplicateKeys, boolean allowRecursiveKeys, int maxAliasesForCollections, boolean useMarks, java.util.Map<SettingKey,java.lang.Object> customProperties, java.util.Optional<EnvConfig> envConfig, boolean parseComments, int codePointLimit, Schema schema)
-
Uses of Schema in org.snakeyaml.engine.v2.schema
Classes in org.snakeyaml.engine.v2.schema that implement Schema Modifier and Type Class Description class
CoreSchema
Core schemaclass
FailsafeSchema
The failsafe schema is guaranteed to work with any YAML document.class
JsonSchema
Default schema
-