Package com.networknt.schema
Class NonValidationKeyword
- java.lang.Object
-
- com.networknt.schema.AbstractKeyword
-
- com.networknt.schema.NonValidationKeyword
-
- All Implemented Interfaces:
Keyword
public class NonValidationKeyword extends AbstractKeyword
Used for Keywords that have no validation aspect, but are part of the metaschema.
-
-
Constructor Summary
Constructors Constructor Description NonValidationKeyword(String keyword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonValidator
newValidator(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext)
-
Methods inherited from class com.networknt.schema.AbstractKeyword
getValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.networknt.schema.Keyword
setCustomMessage
-
-
-
-
Constructor Detail
-
NonValidationKeyword
public NonValidationKeyword(String keyword)
-
-
Method Detail
-
newValidator
public JsonValidator newValidator(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext) throws JsonSchemaException, Exception
- Throws:
JsonSchemaException
Exception
-
-