Interface Keyword

All Known Implementing Classes:
AbstractKeyword, AnnotationKeyword, FormatKeyword, KeywordType, NonValidationKeyword

public interface Keyword
Represents a keyword.
  • Method Details

    • getValue

      String getValue()
      Gets the keyword value.
      Returns:
      the keyword value
    • newValidator

      KeywordValidator newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) throws SchemaException, Exception
      Creates a new validator for the keyword.
      Parameters:
      schemaLocation - the schema location
      schemaNode - the schema node
      parentSchema - the parent schema
      schemaContext - the schema context
      Returns:
      the validation
      Throws:
      SchemaException - the exception
      Exception - the exception