public class AllOfValidator extends BaseJsonValidator
applyDefaultsStrategy, failFast, parentSchema, schemaNode, schemaPath, validationContext| Constructor and Description |
|---|
AllOfValidator(String schemaPath,
com.fasterxml.jackson.databind.JsonNode schemaNode,
JsonSchema parentSchema,
ValidationContext validationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
preloadJsonSchema()
In case the
JsonValidator has a related JsonSchema or several
ones, calling preloadJsonSchema will actually load the schema document(s) eagerly. |
Set<ValidationMessage> |
validate(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at)
Validate the given JsonNode, the given node is the child node of the root node at given
data path.
|
Set<ValidationMessage> |
walk(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at,
boolean shouldValidateSchema)
This is default implementation of walk method.
|
atPath, atPath, atRoot, buildValidationMessage, checkDiscriminatorMatch, constructValidationMessage, debug, equals, fetchSubSchemaNode, getNodeFieldType, getParentSchema, getPathType, getSchemaNode, getSchemaPath, getValidatorType, greaterThan, isPartOfOneOfMultipleType, lessThan, parseErrorCode, preloadJsonSchemas, registerAndMergeDiscriminator, validatepublic AllOfValidator(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext)
public Set<ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
JsonValidatornode - JsonNoderootNode - JsonNodeat - Stringpublic Set<ValidationMessage> walk(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at, boolean shouldValidateSchema)
BaseJsonValidatorwalk in interface JsonSchemaWalkerwalk in class BaseJsonValidatornode - JsonNoderootNode - JsonNodeat - StringshouldValidateSchema - booleanpublic void preloadJsonSchema()
JsonValidatorJsonValidator has a related JsonSchema or several
ones, calling preloadJsonSchema will actually load the schema document(s) eagerly.Copyright © 2023. All rights reserved.