public final class KeywordFactory extends Object
KeywordValidator instances for a given
schema
This class is only called once the schemas has been deemed valid, that is, after the following is true:
SyntaxValidator).| Constructor and Description |
|---|
KeywordFactory(Map<String,Class<? extends KeywordValidator>> validators) |
| Modifier and Type | Method and Description |
|---|---|
Set<KeywordValidator> |
getValidators(JsonNode schema)
Return the set of validators for a particular schema
|
public KeywordFactory(Map<String,Class<? extends KeywordValidator>> validators)
public Set<KeywordValidator> getValidators(JsonNode schema)
schema - the schema as a JsonNodeCopyright © 2012. All Rights Reserved.