public class RefValidator extends BaseJsonValidator implements JsonValidator
| 限定符和类型 | 字段和说明 |
|---|---|
protected JsonSchemaRef |
schema |
config, failFast, validatorStateAT_ROOT| 构造器和说明 |
|---|
RefValidator(String schemaPath,
com.fasterxml.jackson.databind.JsonNode schemaNode,
JsonSchema parentSchema,
ValidationContext validationContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
(专用程序包) static JsonSchemaRef |
getRefSchema(JsonSchema parentSchema,
ValidationContext validationContext,
String refValue) |
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, debug, equals, fetchSubSchemaNode, getNodeFieldType, getParentSchema, getSchemaNode, getSchemaPath, getValidatorType, greaterThan, lessThan, parseErrorCode, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateprotected JsonSchemaRef schema
public RefValidator(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext)
static JsonSchemaRef getRefSchema(JsonSchema parentSchema, ValidationContext validationContext, String refValue)
public Set<ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
JsonValidatorvalidate 在接口中 JsonValidatornode - JsonNoderootNode - JsonNodeat - StringCopyright © 2023. All rights reserved.