public final class JsonValidatorCache extends Object
This class plays a critically important role in the performance of the whole validation process, since it is the class responsible for instantiating validators and caching them for future reuse.
As it uses a LoadingCache, it is totally thread safe and also
very efficient.
SchemaNode| Constructor and Description |
|---|
JsonValidatorCache(KeywordRegistry keywordRegistry,
SchemaRegistry schemaRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,FormatAttribute> |
getFormatAttributes() |
JsonValidator |
getValidator(SchemaNode schemaNode) |
public JsonValidatorCache(KeywordRegistry keywordRegistry, SchemaRegistry schemaRegistry)
public Map<String,FormatAttribute> getFormatAttributes()
public JsonValidator getValidator(SchemaNode schemaNode)
Copyright © 2013. All Rights Reserved.