Interface Keyword
- All Known Implementing Classes:
AbstractKeyword, AnnotationKeyword, FormatKeyword, NonValidationKeyword, ValidatorTypeCode
public interface Keyword
Represents a keyword.
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()Gets the keyword value.newValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext) Creates a new validator for the keyword.
-
Method Details
-
getValue
-
newValidator
JsonValidator newValidator(SchemaLocation schemaLocation, JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext) throws JsonSchemaException, Exception Creates a new validator for the keyword.- Parameters:
schemaLocation- the schema locationevaluationPath- the evaluation pathschemaNode- the schema nodeparentSchema- the parent schemavalidationContext- the validation context- Returns:
- the validation
- Throws:
JsonSchemaException- the exceptionException- the exception
-