Class FormatKeyword

java.lang.Object
com.networknt.schema.FormatKeyword
All Implemented Interfaces:
Keyword

public class FormatKeyword extends Object implements Keyword
Format Keyword.
  • Constructor Details

  • Method Details

    • 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.
      Specified by:
      newValidator in interface 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
    • getValue

      public String getValue()
      Description copied from interface: Keyword
      Gets the keyword value.
      Specified by:
      getValue in interface Keyword
      Returns:
      the keyword value