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(MetaSchema metaSchema) |
Modifier and Type | Method and Description |
---|---|
Set<KeywordValidator> |
getValidators(JsonNode schema)
Return the set of validators for a particular schema
|
public KeywordFactory(MetaSchema metaSchema)
public Set<KeywordValidator> getValidators(JsonNode schema)
schema
- the schema as a JsonNode
Copyright © 2013. All Rights Reserved.