public class SchemaStore extends Object
Constructor and Description |
---|
SchemaStore() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
Schema |
create(Schema parent,
String path)
Create or look up a new schema using the given schema as a parent and the
path as a relative reference.
|
Schema |
create(URI id)
Create or look up a new schema which has the given ID and read the
contents of the given ID as a URL.
|
public Schema create(URI id)
id
- the id of the schema being createdpublic Schema create(Schema parent, String path)
parent
- the schema which is the parent of the schema to be created.path
- the relative path of this schema (will be used to create a
complete URI by resolving this path against the parent
schema's id)public void clearCache()
Copyright © 2015. All rights reserved.