public class SPARQLRepositoryConfig extends RepositoryImplConfigBase
| Modifier and Type | Field and Description |
|---|---|
static URI |
QUERY_ENDPOINT |
static URI |
UPDATE_ENDPOINT |
| Constructor and Description |
|---|
SPARQLRepositoryConfig() |
SPARQLRepositoryConfig(String queryEndpointUrl) |
SPARQLRepositoryConfig(String queryEndpointUrl,
String updateEndpointUrl) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
export(Graph graph) |
String |
getQueryEndpointUrl() |
String |
getUpdateEndpointUrl() |
void |
parse(Graph graph,
Resource implNode) |
void |
setQueryEndpointUrl(String url) |
void |
setUpdateEndpointUrl(String url) |
void |
validate()
Validates this configuration.
|
create, getType, setTypepublic static final URI QUERY_ENDPOINT
public static final URI UPDATE_ENDPOINT
public SPARQLRepositoryConfig()
public SPARQLRepositoryConfig(String queryEndpointUrl)
public String getQueryEndpointUrl()
public void setQueryEndpointUrl(String url)
public String getUpdateEndpointUrl()
public void setUpdateEndpointUrl(String url)
public void validate()
throws RepositoryConfigException
RepositoryImplConfigRepositoryConfigException is
thrown when the configuration is invalid. The exception should contain an
error message that indicates why the configuration is invalid.validate in interface RepositoryImplConfigvalidate in class RepositoryImplConfigBaseRepositoryConfigException - If the configuration is invalid.public Resource export(Graph graph)
export in interface RepositoryImplConfigexport in class RepositoryImplConfigBasepublic void parse(Graph graph, Resource implNode) throws RepositoryConfigException
parse in interface RepositoryImplConfigparse in class RepositoryImplConfigBaseRepositoryConfigExceptionCopyright © 2001–2015 Aduna. All rights reserved.