public class JsonSchemaValidationRule extends Rule
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_SCHEMA_FAIL_ON_WARNING_KEY |
| Constructor and Description |
|---|
JsonSchemaValidationRule(JsonSchemaExternalType schemaNode) |
| Modifier and Type | Method and Description |
|---|---|
Node |
apply(Node node) |
String |
getDescription() |
List<Suggestion> |
getSuggestions(Node node,
ParsingContext context) |
boolean |
matches(Node node) |
cleanFactory, createNodeUsingFactory, getChildren, getFactory, getSuggestions, named, ruleName, then, then, toStringpublic static final String JSON_SCHEMA_FAIL_ON_WARNING_KEY
public JsonSchemaValidationRule(JsonSchemaExternalType schemaNode)
@Nonnull public List<Suggestion> getSuggestions(Node node, ParsingContext context)
getSuggestions in class Rulepublic String getDescription()
getDescription in class RuleCopyright © 2017. All rights reserved.