Package com.networknt.schema
Class JsonSchemaFactory
- java.lang.Object
-
- com.networknt.schema.JsonSchemaFactory
-
public class JsonSchemaFactory extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonSchemaFactory.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonSchemaFactory.Builderbuilder(JsonSchemaFactory blueprint)protected ValidationContextcreateValidationContext(com.fasterxml.jackson.databind.JsonNode schemaNode)static JsonSchemaFactorygetInstance()JsonSchemagetSchema(com.fasterxml.jackson.databind.JsonNode jsonNode)JsonSchemagetSchema(com.fasterxml.jackson.databind.JsonNode jsonNode, SchemaValidatorsConfig config)JsonSchemagetSchema(InputStream schemaStream)JsonSchemagetSchema(InputStream schemaStream, SchemaValidatorsConfig config)JsonSchemagetSchema(String schema)JsonSchemagetSchema(String schema, SchemaValidatorsConfig config)JsonSchemagetSchema(URL schemaURL)JsonSchemagetSchema(URL schemaURL, SchemaValidatorsConfig config)
-
-
-
Method Detail
-
getInstance
public static JsonSchemaFactory getInstance()
-
builder
public static JsonSchemaFactory.Builder builder(JsonSchemaFactory blueprint)
-
createValidationContext
protected ValidationContext createValidationContext(com.fasterxml.jackson.databind.JsonNode schemaNode)
-
getSchema
public JsonSchema getSchema(String schema, SchemaValidatorsConfig config)
-
getSchema
public JsonSchema getSchema(String schema)
-
getSchema
public JsonSchema getSchema(InputStream schemaStream, SchemaValidatorsConfig config)
-
getSchema
public JsonSchema getSchema(InputStream schemaStream)
-
getSchema
public JsonSchema getSchema(URL schemaURL, SchemaValidatorsConfig config)
-
getSchema
public JsonSchema getSchema(URL schemaURL)
-
getSchema
public JsonSchema getSchema(com.fasterxml.jackson.databind.JsonNode jsonNode, SchemaValidatorsConfig config)
-
getSchema
public JsonSchema getSchema(com.fasterxml.jackson.databind.JsonNode jsonNode)
-
-