Class FormatKeyword

  • All Implemented Interfaces:
    Keyword

    public class FormatKeyword
    extends Object
    implements Keyword
    Format Keyword.
    • Method Detail

      • newValidator

        public KeywordValidator newValidator​(SchemaLocation schemaLocation,
                                             com.fasterxml.jackson.databind.JsonNode schemaNode,
                                             Schema parentSchema,
                                             SchemaContext schemaContext)
        Description copied from interface: Keyword
        Creates a new validator for the keyword.
        Specified by:
        newValidator in interface Keyword
        Parameters:
        schemaLocation - the schema location
        schemaNode - the schema node
        parentSchema - the parent schema
        schemaContext - the schema 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