org.openanzo.client.jena
Class JenaNamedGraphProxy
java.lang.Object
com.hp.hpl.jena.graph.impl.GraphBase
org.openanzo.client.jena.JenaNamedGraphProxy
- All Implemented Interfaces:
- com.hp.hpl.jena.graph.Graph, com.hp.hpl.jena.graph.GraphAdd, com.hp.hpl.jena.graph.impl.GraphWithPerform
public class JenaNamedGraphProxy
- extends com.hp.hpl.jena.graph.impl.GraphBase
Proxy Graph wrapper for an underlying INamedGraph
- Author:
- Matthew Roy ( mroy@cambridgesemantics.com )
| Fields inherited from interface com.hp.hpl.jena.graph.Graph |
emptyGraph |
| Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
add, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, queryHandler, size, toString, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JenaNamedGraphProxy
public JenaNamedGraphProxy(JenaDatasetService datasetService,
INamedGraph base)
- Create a proxy for the given base graph
- Parameters:
datasetService - underlying datasetservice for the graphbase - base graph to wrap
getDatasetService
public JenaDatasetService getDatasetService()
- Get the datasetService for the graph
- Returns:
- the datasetService for the graph
getNamedGraphUri
public java.lang.String getNamedGraphUri()
- Get the URI for the NamedGraph
- Returns:
- the URI for the NamedGraph
close
public void close()
- Specified by:
close in interface com.hp.hpl.jena.graph.Graph- Overrides:
close in class com.hp.hpl.jena.graph.impl.GraphBase
isClosed
public boolean isClosed()
- Return true if the underlying graph is closed
- Returns:
- true if the underlying graph is closed
graphBaseFind
public com.hp.hpl.jena.util.iterator.ExtendedIterator graphBaseFind(com.hp.hpl.jena.graph.TripleMatch m)
- Specified by:
graphBaseFind in class com.hp.hpl.jena.graph.impl.GraphBase
performDelete
public void performDelete(com.hp.hpl.jena.graph.Triple t)
throws com.hp.hpl.jena.shared.DeleteDeniedException
- Specified by:
performDelete in interface com.hp.hpl.jena.graph.impl.GraphWithPerform- Overrides:
performDelete in class com.hp.hpl.jena.graph.impl.GraphBase
- Throws:
com.hp.hpl.jena.shared.DeleteDeniedException
performAdd
public void performAdd(com.hp.hpl.jena.graph.Triple t)
throws com.hp.hpl.jena.shared.DeleteDeniedException
- Specified by:
performAdd in interface com.hp.hpl.jena.graph.impl.GraphWithPerform- Overrides:
performAdd in class com.hp.hpl.jena.graph.impl.GraphBase
- Throws:
com.hp.hpl.jena.shared.DeleteDeniedException
getTransactionHandler
public com.hp.hpl.jena.graph.TransactionHandler getTransactionHandler()
- Specified by:
getTransactionHandler in interface com.hp.hpl.jena.graph.Graph- Overrides:
getTransactionHandler in class com.hp.hpl.jena.graph.impl.GraphBase
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.