public abstract class JsonSchemaValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR_TRYING_TO_VALIDATE |
protected static String |
INVALID_SCHEMA_REFERENCE |
protected static String |
SCHEMA_NOT_FOUND_MSG |
protected static String |
VALIDATION_FAILED_MESSAGE |
| Modifier | Constructor and Description |
|---|---|
protected |
JsonSchemaValidator(org.mule.module.json.internal.ValidatorKey key) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
asJsonNode(InputStream input) |
JsonSchemaDereferencingMode |
getDereferencing() |
String |
getSchemaLocation() |
Map<String,String> |
getSchemaRedirects() |
abstract void |
validate(InputStream inputStream) |
protected static final String VALIDATION_FAILED_MESSAGE
protected static final String INVALID_SCHEMA_REFERENCE
protected static final String ERROR_TRYING_TO_VALIDATE
protected static final String SCHEMA_NOT_FOUND_MSG
protected JsonSchemaValidator(org.mule.module.json.internal.ValidatorKey key)
public abstract void validate(InputStream inputStream)
public String getSchemaLocation()
public JsonSchemaDereferencingMode getDereferencing()
public com.fasterxml.jackson.databind.JsonNode asJsonNode(InputStream input)
Copyright © 2024 MuleSoft, Inc.. All rights reserved.