net.sf.bvalid.catalog
Interface SchemaCatalog
- All Known Implementing Classes:
- DiskSchemaCatalog, MemorySchemaCatalog
public interface SchemaCatalog
A collection of schema files, keyed by URI.
- Author:
- cwilper@cs.cornell.edu
Method Summary |
boolean |
contains(java.lang.String uri)
|
java.io.InputStream |
get(java.lang.String uri)
Get the schema InputStream if in the catalog, else return null. |
java.util.Iterator |
listURIs()
|
void |
put(java.lang.String uri,
java.io.InputStream in)
|
void |
remove(java.lang.String uri)
|
contains
boolean contains(java.lang.String uri)
throws ValidatorException
- Throws:
ValidatorException
listURIs
java.util.Iterator listURIs()
throws ValidatorException
- Throws:
ValidatorException
get
java.io.InputStream get(java.lang.String uri)
throws ValidatorException
- Get the schema InputStream if in the catalog, else return null.
- Throws:
ValidatorException
put
void put(java.lang.String uri,
java.io.InputStream in)
throws ValidatorException
- Throws:
ValidatorException
remove
void remove(java.lang.String uri)
throws ValidatorException
- Throws:
ValidatorException