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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UnknownKeywordFactorygetKeyword(String value, ValidationContext validationContext) Gets the keyword given the keyword value.
-
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
-