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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalarResolver
getScalarResolver()
Provide the way to connect a tag to a node by the contents of the scalar node.java.util.Map<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
java.util.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
-
-