public final class SchemaRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
private LoadingCache<URI,SchemaContainer> |
cache |
| Constructor and Description |
|---|
SchemaRegistry() |
SchemaRegistry(URIManager manager) |
| Modifier and Type | Method and Description |
|---|---|
SchemaContainer |
get(URI uri) |
void |
put(URI uri,
JsonNode node) |
SchemaContainer |
register(JsonNode node) |
private final LoadingCache<URI,SchemaContainer> cache
public SchemaRegistry()
public SchemaRegistry(URIManager manager)
public SchemaContainer register(JsonNode node) throws JsonSchemaException
JsonSchemaExceptionpublic SchemaContainer get(URI uri) throws JsonSchemaException
JsonSchemaExceptionpublic void put(URI uri, JsonNode node) throws JsonSchemaException
JsonSchemaExceptionCopyright © 2012. All Rights Reserved.