Class UnknownKeywordFactory
java.lang.Object
com.networknt.schema.UnknownKeywordFactory
- All Implemented Interfaces:
KeywordFactory
Unknown keyword factory.
This treats unknown keywords as annotations.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UnknownKeywordFactorygetKeyword(String value, ValidationContext validationContext) Gets the keyword given the keyword value.
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
keywords
-
-
Constructor Details
-
UnknownKeywordFactory
public UnknownKeywordFactory()
-
-
Method Details
-
getKeyword
Description copied from interface:KeywordFactoryGets the keyword given the keyword value.- Specified by:
getKeywordin interfaceKeywordFactory- Parameters:
value- the keyword valuevalidationContext- the validationContext- Returns:
- the keyword
-
getInstance
-