Class 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 Detail

      • NonValidationKeyword

        public NonValidationKeyword​(String keyword)
    • Method Detail

      • newValidator

        public JsonValidator newValidator​(SchemaLocation schemaLocation,
                                          JsonNodePath evaluationPath,
                                          com.fasterxml.jackson.databind.JsonNode schemaNode,
                                          JsonSchema parentSchema,
                                          ValidationContext validationContext)
        Description copied from interface: Keyword
        Creates a new validator for the keyword.
        Parameters:
        schemaLocation - the schema location
        evaluationPath - the evaluation path
        schemaNode - the schema node
        parentSchema - the parent schema
        validationContext - the validation context
        Returns:
        the validation