Package solutions.linked.slds.providers
Class GraphAndContext
- java.lang.Object
-
- solutions.linked.slds.providers.GraphAndContext
-
- All Implemented Interfaces:
ResourceDescriptionProvider
public class GraphAndContext extends Object implements ResourceDescriptionProvider
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.clerezza.rdf.utils.GraphNodeconfigConfigUtilsconfigUtilsIriTranslatorProvideririTranslatorProvider
-
Constructor Summary
Constructors Constructor Description GraphAndContext(org.apache.clerezza.rdf.utils.GraphNode config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.clerezza.commons.rdf.GraphgetGraphFor(org.apache.clerezza.commons.rdf.IRI resource)protected String[]getQueries(org.apache.clerezza.commons.rdf.IRI resource)protected Enumeration<? extends InputStream>getQueryResultsAsStream(String[] queries)protected org.apache.clerezza.commons.rdf.GraphrunQueries(String[] queries)The response of multiple queries are concatenated so that the same b-node ID results in the same node
-
-
-
Field Detail
-
config
public final org.apache.clerezza.rdf.utils.GraphNode config
-
iriTranslatorProvider
public final IriTranslatorProvider iriTranslatorProvider
-
configUtils
public final ConfigUtils configUtils
-
-
Method Detail
-
getGraphFor
public org.apache.clerezza.commons.rdf.Graph getGraphFor(org.apache.clerezza.commons.rdf.IRI resource)
- Specified by:
getGraphForin interfaceResourceDescriptionProvider
-
runQueries
protected org.apache.clerezza.commons.rdf.Graph runQueries(String[] queries) throws IOException
The response of multiple queries are concatenated so that the same b-node ID results in the same node- Throws:
IOException
-
getQueryResultsAsStream
protected Enumeration<? extends InputStream> getQueryResultsAsStream(String[] queries) throws IOException
- Throws:
IOException
-
getQueries
protected String[] getQueries(org.apache.clerezza.commons.rdf.IRI resource)
-
-