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, setType
public 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
RepositoryImplConfig
RepositoryConfigException
is
thrown when the configuration is invalid. The exception should contain an
error message that indicates why the configuration is invalid.validate
in interface RepositoryImplConfig
validate
in class RepositoryImplConfigBase
RepositoryConfigException
- If the configuration is invalid.public Resource export(Graph graph)
export
in interface RepositoryImplConfig
export
in class RepositoryImplConfigBase
public void parse(Graph graph, Resource implNode) throws RepositoryConfigException
parse
in interface RepositoryImplConfig
parse
in class RepositoryImplConfigBase
RepositoryConfigException
Copyright © 2001-2016 Aduna. All Rights Reserved.