public class JsonSchemaRef extends Object
This reference may be empty (if the reference is being parsed) or with data (after the reference has been parsed), helping to prevent recursive reference to cause an infinite loop.
Constructor and Description |
---|
JsonSchemaRef(JsonSchema schema) |
JsonSchemaRef(ValidationContext validationContext,
String refValue) |
Modifier and Type | Method and Description |
---|---|
JsonSchema |
getSchema() |
void |
set(JsonSchema schema) |
Set<ValidationMessage> |
validate(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at) |
Set<ValidationMessage> |
walk(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at,
boolean shouldValidateSchema) |
public JsonSchemaRef(ValidationContext validationContext, String refValue)
public JsonSchemaRef(JsonSchema schema)
public void set(JsonSchema schema)
public Set<ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
public JsonSchema getSchema()
public Set<ValidationMessage> walk(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at, boolean shouldValidateSchema)
Copyright © 2021. All rights reserved.