01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.config;
07:
08: import org.openrdf.model.Graph;
09: import org.openrdf.model.Resource;
10:
11: /**
12: * @author Arjohn Kampman
13: */
14: public interface SailImplConfig {
15:
16: public String getType();
17:
18: /**
19: * Validates this configuration. A {@link SailConfigException} is thrown when
20: * the configuration is invalid. The exception should contain an error
21: * message that indicates why the configuration is invalid.
22: *
23: * @throws SailConfigException
24: * If the configuration is invalid.
25: */
26: public void validate() throws SailConfigException;
27:
28: public Resource export(Graph graph);
29:
30: public void parse(Graph graph, Resource implNode)
31: throws SailConfigException;
32: }
|