org.openrdf.repository.sparql.config
Class SPARQLRepositoryConfig
java.lang.Object
org.openrdf.repository.config.RepositoryImplConfigBase
org.openrdf.repository.sparql.config.SPARQLRepositoryConfig
- All Implemented Interfaces:
- RepositoryImplConfig
public class SPARQLRepositoryConfig
- extends RepositoryImplConfigBase
Configuration for a SPARQL endpoint.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENDPOINT
public static final URI ENDPOINT
SPARQLRepositoryConfig
public SPARQLRepositoryConfig()
SPARQLRepositoryConfig
public SPARQLRepositoryConfig(String url)
getURL
public String getURL()
setURL
public void setURL(String url)
validate
public void validate()
throws RepositoryConfigException
- Description copied from interface:
RepositoryImplConfig
- Validates this configuration. A
RepositoryConfigException is
thrown when the configuration is invalid. The exception should contain an
error message that indicates why the configuration is invalid.
- Specified by:
validate in interface RepositoryImplConfig- Overrides:
validate in class RepositoryImplConfigBase
- Throws:
RepositoryConfigException - If the configuration is invalid.
export
public Resource export(Graph graph)
- Specified by:
export in interface RepositoryImplConfig- Overrides:
export in class RepositoryImplConfigBase
parse
public void parse(Graph graph,
Resource implNode)
throws RepositoryConfigException
- Specified by:
parse in interface RepositoryImplConfig- Overrides:
parse in class RepositoryImplConfigBase
- Throws:
RepositoryConfigException
Copyright © 2001-2012 Aduna. All Rights Reserved.