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 ScalarResolvergetScalarResolver()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:
getScalarResolverin interfaceSchema- Overrides:
getScalarResolverin classJsonSchema- Returns:
- CoreScalarResolver
-
getSchemaTagConstructors
public java.util.Map<Tag,ConstructNode> getSchemaTagConstructors()
Provide constructs to support the schema (bool, int, float)- Specified by:
getSchemaTagConstructorsin interfaceSchema- Overrides:
getSchemaTagConstructorsin classJsonSchema- Returns:
- map
-
-