Package com.networknt.schema.keyword
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, SchemaContext schemaContext)Gets the keyword given the keyword value.
-
-
-
Method Detail
-
getKeyword
Keyword getKeyword(String value, SchemaContext schemaContext)
Gets the keyword given the keyword value.- Parameters:
value- the keyword valueschemaContext- the schemaContext- Returns:
- the keyword
-
-