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, the following is true:
SyntaxValidator).Note that failing to build a keyword validator is considered a fatal error and stops validation immediately (reminder: keyword validators are built via reflection).
| Constructor and Description |
|---|
KeywordFactory(KeywordRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
Set<KeywordValidator> |
getValidators(JsonNode schema)
Return the set of validators for a particular schema
|
public KeywordFactory(KeywordRegistry registry)
public Set<KeywordValidator> getValidators(JsonNode schema)
schema - the schema as a JsonNodeCopyright © 2013. All Rights Reserved.