Package com.networknt.schema
Class ValidationContext
- java.lang.Object
-
- com.networknt.schema.ValidationContext
-
public class ValidationContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ValidationContext(JsonMetaSchema metaSchema, JsonSchemaFactory jsonSchemaFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaValidatorsConfiggetConfig()JsonSchemaFactorygetJsonSchemaFactory()JsonValidatornewValidator(String schemaPath, String keyword, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema)voidsetConfig(SchemaValidatorsConfig config)
-
-
-
Constructor Detail
-
ValidationContext
public ValidationContext(JsonMetaSchema metaSchema, JsonSchemaFactory jsonSchemaFactory)
-
-
Method Detail
-
newValidator
public JsonValidator newValidator(String schemaPath, String keyword, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema)
-
getJsonSchemaFactory
public JsonSchemaFactory getJsonSchemaFactory()
-
getConfig
public SchemaValidatorsConfig getConfig()
-
setConfig
public void setConfig(SchemaValidatorsConfig config)
-
-