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(KeywordBundle bundle)
The only constructor
|
| Modifier and Type | Method and Description |
|---|---|
Set<KeywordValidator> |
getValidators(JsonNode schema)
Return the set of validators for a particular schema
|
public KeywordFactory(KeywordBundle bundle)
bundle - The keyword bundle to usepublic Set<KeywordValidator> getValidators(JsonNode schema)
schema - the schema as a JsonNodeCopyright © 2012. All Rights Reserved.