Package org.snakeyaml.engine.v2.schema
Interface Schema
-
- All Known Implementing Classes:
CoreSchema,FailsafeSchema,JsonSchema
public interface SchemaInterface to be implemented by any Schema
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalarResolvergetScalarResolver()Provide the way to connect a tag to a node by the contents of the scalar node.Map<org.snakeyaml.engine.v2.nodes.Tag,ConstructNode>getSchemaTagConstructors()Provide the way to construct the resolved tag.
-
-
-
Method Detail
-
getScalarResolver
ScalarResolver getScalarResolver()
Provide the way to connect a tag to a node by the contents of the scalar node. It is used either during implicit tag resolution for parsing or for dumping- Returns:
- tag resolver for parse and dump
-
getSchemaTagConstructors
Map<org.snakeyaml.engine.v2.nodes.Tag,ConstructNode> getSchemaTagConstructors()
Provide the way to construct the resolved tag. This map will override the default values in tagConstructors- Returns:
- constructors for the tags in schema
-
-