public class JsonSchema extends BaseJsonValidator
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,JsonValidator> |
validators |
AT_ROOT| Modifier and Type | Method and Description |
|---|---|
JsonSchema |
findAncestor() |
com.fasterxml.jackson.databind.JsonNode |
getRefSchemaNode(String ref)
Find the schema node for $ref attribute.
|
String |
toString() |
Set<ValidationMessage> |
validate(com.fasterxml.jackson.databind.JsonNode JsonNode,
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, getParentSchema, getSchemaNode, getSchemaPath, getValidatorType, greaterThan, lessThan, parseErrorCode, validateprotected Map<String,JsonValidator> validators
public com.fasterxml.jackson.databind.JsonNode getRefSchemaNode(String ref)
ref - public JsonSchema findAncestor()
public Set<ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode JsonNode, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
JsonValidatorJsonNode - JsonNoderootNode - JsonNodeat - StringCopyright © 2017. All rights reserved.