Package com.networknt.schema.keyword
Class FormatKeyword
- java.lang.Object
-
- com.networknt.schema.keyword.FormatKeyword
-
-
Constructor Summary
Constructors Constructor Description FormatKeyword(Keyword type, Map<String,Format> formats)FormatKeyword(String value, Map<String,Format> formats)FormatKeyword(Map<String,Format> formats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Gets the keyword value.KeywordValidatornewValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext)Creates a new validator for the keyword.
-
-
-
Method Detail
-
newValidator
public KeywordValidator newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext)
Description copied from interface:KeywordCreates a new validator for the keyword.- Specified by:
newValidatorin interfaceKeyword- Parameters:
schemaLocation- the schema locationschemaNode- the schema nodeparentSchema- the parent schemaschemaContext- the schema context- Returns:
- the validation
-
-