Package com.networknt.schema
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 UnknownKeywordFactory
getKeyword
(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:KeywordFactory
Gets the keyword given the keyword value.- Specified by:
getKeyword
in interfaceKeywordFactory
- Parameters:
value
- the keyword valuevalidationContext
- the validationContext- Returns:
- the keyword
-
getInstance
-