Package com.networknt.schema
Interface KeywordFactory
-
- All Known Implementing Classes:
DisallowUnknownKeywordFactory,UnknownKeywordFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface KeywordFactory
Factory forKeyword.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeywordgetKeyword(String value, ValidationContext validationContext)Gets the keyword given the keyword value.
-
-
-
Method Detail
-
getKeyword
Keyword getKeyword(String value, ValidationContext validationContext)
Gets the keyword given the keyword value.- Parameters:
value- the keyword valuevalidationContext- the validationContext- Returns:
- the keyword
-
-