public class TypeValidator extends BaseJsonValidator
applyDefaultsStrategy, failFast, schemaNode, schemaPath, validationContext| Constructor and Description |
|---|
TypeValidator(String schemaPath,
com.fasterxml.jackson.databind.JsonNode schemaNode,
JsonSchema parentSchema,
ValidationContext validationContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsToSchemaType(com.fasterxml.jackson.databind.JsonNode node) |
JsonType |
getSchemaType() |
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.
|
atPath, atPath, atRoot, buildValidationMessage, checkDiscriminatorMatch, constructValidationMessage, debug, equals, fetchSubSchemaNode, getNodeFieldType, getParentSchema, getPathType, getSchemaNode, getSchemaPath, getValidatorType, greaterThan, isPartOfOneOfMultipleType, lessThan, parseErrorCode, preloadJsonSchemas, registerAndMergeDiscriminator, validate, walkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreloadJsonSchemapublic TypeValidator(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext)
public JsonType getSchemaType()
public boolean equalsToSchemaType(com.fasterxml.jackson.databind.JsonNode node)
public Set<ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
JsonValidatornode - JsonNoderootNode - JsonNodeat - StringCopyright © 2023. All rights reserved.