public class JsonSchemaFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JsonSchemaFactory.Builder |
Modifier and Type | Method and Description |
---|---|
static JsonSchemaFactory.Builder |
builder(JsonSchemaFactory blueprint) |
protected ValidationContext |
createValidationContext(com.fasterxml.jackson.databind.JsonNode schemaNode) |
static JsonSchemaFactory |
getInstance() |
JsonSchema |
getSchema(InputStream schemaStream) |
JsonSchema |
getSchema(InputStream schemaStream,
SchemaValidatorsConfig config) |
JsonSchema |
getSchema(com.fasterxml.jackson.databind.JsonNode jsonNode) |
JsonSchema |
getSchema(com.fasterxml.jackson.databind.JsonNode jsonNode,
SchemaValidatorsConfig config) |
JsonSchema |
getSchema(String schema) |
JsonSchema |
getSchema(String schema,
SchemaValidatorsConfig config) |
JsonSchema |
getSchema(URI schemaUri) |
JsonSchema |
getSchema(URI schemaUri,
com.fasterxml.jackson.databind.JsonNode jsonNode) |
JsonSchema |
getSchema(URI schemaUri,
com.fasterxml.jackson.databind.JsonNode jsonNode,
SchemaValidatorsConfig config) |
JsonSchema |
getSchema(URI schemaUri,
SchemaValidatorsConfig config) |
public static JsonSchemaFactory getInstance()
public static JsonSchemaFactory.Builder builder(JsonSchemaFactory blueprint)
protected ValidationContext createValidationContext(com.fasterxml.jackson.databind.JsonNode schemaNode)
public JsonSchema getSchema(String schema, SchemaValidatorsConfig config)
public JsonSchema getSchema(String schema)
public JsonSchema getSchema(InputStream schemaStream, SchemaValidatorsConfig config)
public JsonSchema getSchema(InputStream schemaStream)
public JsonSchema getSchema(URI schemaUri, SchemaValidatorsConfig config)
public JsonSchema getSchema(URI schemaUri)
public JsonSchema getSchema(URI schemaUri, com.fasterxml.jackson.databind.JsonNode jsonNode, SchemaValidatorsConfig config)
public JsonSchema getSchema(com.fasterxml.jackson.databind.JsonNode jsonNode, SchemaValidatorsConfig config)
public JsonSchema getSchema(URI schemaUri, com.fasterxml.jackson.databind.JsonNode jsonNode)
public JsonSchema getSchema(com.fasterxml.jackson.databind.JsonNode jsonNode)
Copyright © 2019. All rights reserved.