public class ReflectionKeywordValidatorFactory extends Object implements KeywordValidatorFactory
| Constructor and Description |
|---|
ReflectionKeywordValidatorFactory(String name,
Class<? extends KeywordValidator> clazz) |
| Modifier and Type | Method and Description |
|---|---|
KeywordValidator |
getKeywordValidator(JsonNode node)
Create a validator for the instance
|
public ReflectionKeywordValidatorFactory(String name, Class<? extends KeywordValidator> clazz)
public KeywordValidator getKeywordValidator(JsonNode node) throws ProcessingException
KeywordValidatorFactorygetKeywordValidator in interface KeywordValidatorFactorynode - the instance to validateProcessingException - an error occurs creating the validator