Package org.snakeyaml.engine.v2.schema
Class CoreSchema
- java.lang.Object
-
- org.snakeyaml.engine.v2.schema.JsonSchema
-
- org.snakeyaml.engine.v2.schema.CoreSchema
-
- All Implemented Interfaces:
Schema
public class CoreSchema extends JsonSchema
Core schema
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<Tag,ConstructNode>
tagConstructors
-
Constructor Summary
Constructors Constructor Description CoreSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalarResolver
getScalarResolver()
Create ScalarResolverjava.util.Map<Tag,ConstructNode>
getSchemaTagConstructors()
Provide constructs to support the schema (bool, int, float)
-
-
-
Field Detail
-
tagConstructors
private final java.util.Map<Tag,ConstructNode> tagConstructors
-
-
Method Detail
-
getScalarResolver
public ScalarResolver getScalarResolver()
Create ScalarResolver- Specified by:
getScalarResolver
in interfaceSchema
- Overrides:
getScalarResolver
in classJsonSchema
- Returns:
- CoreScalarResolver
-
getSchemaTagConstructors
public java.util.Map<Tag,ConstructNode> getSchemaTagConstructors()
Provide constructs to support the schema (bool, int, float)- Specified by:
getSchemaTagConstructors
in interfaceSchema
- Overrides:
getSchemaTagConstructors
in classJsonSchema
- Returns:
- map
-
-