public class ValidationContext extends Object
Constructor and Description |
---|
ValidationContext(URIFactory uriFactory,
JsonMetaSchema metaSchema,
JsonSchemaFactory jsonSchemaFactory,
SchemaValidatorsConfig config) |
Modifier and Type | Method and Description |
---|---|
SchemaValidatorsConfig |
getConfig() |
JsonSchemaFactory |
getJsonSchemaFactory() |
protected JsonMetaSchema |
getMetaSchema() |
JsonSchemaRef |
getReferenceParsingInProgress(String refValue) |
URIFactory |
getURIFactory() |
JsonValidator |
newValidator(String schemaPath,
String keyword,
com.fasterxml.jackson.databind.JsonNode schemaNode,
JsonSchema parentSchema) |
String |
resolveSchemaId(com.fasterxml.jackson.databind.JsonNode schemaNode) |
void |
setConfig(SchemaValidatorsConfig config) |
void |
setReferenceParsingInProgress(String refValue,
JsonSchemaRef ref) |
public ValidationContext(URIFactory uriFactory, JsonMetaSchema metaSchema, JsonSchemaFactory jsonSchemaFactory, SchemaValidatorsConfig config)
public JsonValidator newValidator(String schemaPath, String keyword, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema)
public String resolveSchemaId(com.fasterxml.jackson.databind.JsonNode schemaNode)
public URIFactory getURIFactory()
public JsonSchemaFactory getJsonSchemaFactory()
public SchemaValidatorsConfig getConfig()
public void setConfig(SchemaValidatorsConfig config)
public void setReferenceParsingInProgress(String refValue, JsonSchemaRef ref)
public JsonSchemaRef getReferenceParsingInProgress(String refValue)
protected JsonMetaSchema getMetaSchema()
Copyright © 2020. All rights reserved.