Package com.networknt.schema
Class UnknownKeywordFactory
- java.lang.Object
-
- com.networknt.schema.UnknownKeywordFactory
-
- All Implemented Interfaces:
KeywordFactory
public class UnknownKeywordFactory extends Object implements KeywordFactory
Unknown keyword factory.This treats unknown keywords as annotations.
-
-
Constructor Summary
Constructors Constructor Description UnknownKeywordFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnknownKeywordFactory
getInstance()
Keyword
getKeyword(String value, ValidationContext validationContext)
Gets the keyword given the keyword value.
-
-
-
Method Detail
-
getKeyword
public Keyword getKeyword(String value, ValidationContext validationContext)
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
public static UnknownKeywordFactory getInstance()
-
-