public class PatternPropertiesValidator extends BaseJsonValidator implements JsonValidator
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY |
failFast, parentSchema, schemaNode, schemaPath
AT_ROOT
Constructor and Description |
---|
PatternPropertiesValidator(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.
|
buildValidationMessage, checkDiscriminatorMatch, debug, equals, fetchSubSchemaNode, getNodeFieldType, getParentSchema, getSchemaNode, getSchemaPath, getValidatorType, greaterThan, isPartOfOneOfMultipleType, lessThan, parseErrorCode, preloadJsonSchemas, registerAndMergeDiscriminator, validate, walk
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
walk
public static final String PROPERTY
public PatternPropertiesValidator(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)
JsonValidator
validate
in interface JsonValidator
node
- JsonNoderootNode
- JsonNodeat
- Stringpublic void preloadJsonSchema()
JsonValidator
JsonValidator
has a related JsonSchema
or several
ones, calling preloadJsonSchema will actually load the schema document(s) eagerly.preloadJsonSchema
in interface JsonValidator
Copyright © 2021. All rights reserved.