Package org.snakeyaml.engine.v2.schema
Interface Schema
- All Known Implementing Classes:
CoreSchema
,FailsafeSchema
,JsonSchema
public interface Schema
Interface to be implemented by any Schema
-
Method Summary
Modifier and TypeMethodDescriptionProvide the way to connect a tag to a node by the contents of the scalar node.Provide the way to construct the resolved tag.
-
Method Details
-
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<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
-