|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fuberlin.wiwiss.marbles.dataproviders.SPARQLProviderBase
public abstract class SPARQLProviderBase
Abstract class to connect SPARQL data providers
Constructor Summary | |
---|---|
SPARQLProviderBase()
|
Method Summary | |
---|---|
protected abstract java.lang.String |
getEndpoint()
|
protected abstract java.lang.String |
getQuery(org.openrdf.model.Resource resource)
Generates a SPARQL query to retrieve appropriate data from the data source for the requested resource |
org.apache.commons.httpclient.URI |
getQueryURL(org.openrdf.model.Resource resource)
Retrieves the URL to query the remote data provider about a given resource |
java.util.List<org.apache.commons.httpclient.URI> |
getURLsFromData(CacheController cacheController,
org.openrdf.repository.RepositoryConnection conn,
org.openrdf.model.Resource resource)
Not implemented |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPARQLProviderBase()
Method Detail |
---|
protected abstract java.lang.String getEndpoint()
protected abstract java.lang.String getQuery(org.openrdf.model.Resource resource)
resource
- The resource for which information is requested
public org.apache.commons.httpclient.URI getQueryURL(org.openrdf.model.Resource resource)
DataProvider
getQueryURL
in interface DataProvider
resource
- The resource for which information is requested
public java.util.List<org.apache.commons.httpclient.URI> getURLsFromData(CacheController cacheController, org.openrdf.repository.RepositoryConnection conn, org.openrdf.model.Resource resource)
getURLsFromData
in interface DataProvider
cacheController
- The CacheController used to resolve redirectsconn
- A connection to a repository with the returned RDF resultresource
- The resource for which information is requested
null
if this functionality is not implemented
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |