/* * Copyright Aduna (http://www.aduna-software.com/) (c) 2007. * * Licensed under the Aduna BSD-style license. */ package org.openrdf.sail.config; import org.openrdf.model.Graph; import org.openrdf.model.Resource; /** * @author Arjohn Kampman */ public interface SailImplConfig { public String getType(); /** * Validates this configuration. A {@link SailConfigException} is thrown when * the configuration is invalid. The exception should contain an error * message that indicates why the configuration is invalid. * * @throws SailConfigException * If the configuration is invalid. */ public void validate() throws SailConfigException; public Resource export(Graph graph); public void parse(Graph graph, Resource implNode) throws SailConfigException; }