public class GraphRepositoryMemory extends Object implements GraphRepository
| Modifier and Type | Method and Description |
|---|---|
G |
getGraph(org.openrdf.model.URI uri)
Retrieve a graph according to its URI.
|
static GraphRepositoryMemory |
getSingleton() |
boolean |
isGraphRegistred(org.openrdf.model.URI uri)
Check if a graph is registred to the given URI.
|
void |
registerGraph(G graph)
Register the graph into the repository.
|
void |
unregisterGraph(org.openrdf.model.URI uri)
Unregister the graph associated to the given URI
|
public static GraphRepositoryMemory getSingleton()
public void registerGraph(G graph)
GraphRepositoryregisterGraph in interface GraphRepositorygraph - the graph to register.public G getGraph(org.openrdf.model.URI uri)
GraphRepositorygetGraph in interface GraphRepositoryuri - the URI of the graph.public boolean isGraphRegistred(org.openrdf.model.URI uri)
GraphRepositoryisGraphRegistred in interface GraphRepositoryuri - the URIpublic void unregisterGraph(org.openrdf.model.URI uri)
GraphRepositoryunregisterGraph in interface GraphRepositoryuri - the URI of the graph.Copyright © 2014. All rights reserved.