Package org.apache.jena.sparql.graph
Class GraphWrapper
- java.lang.Object
-
- org.apache.jena.sparql.graph.GraphWrapper
-
- All Implemented Interfaces:
Graph
- Direct Known Subclasses:
GraphRDFS
,NamedGraphWrapper
public class GraphWrapper extends java.lang.Object implements Graph
Graph wrapper
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
-
Constructor Summary
Constructors Constructor Description GraphWrapper(Graph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Triple t)
void
clear()
void
close()
boolean
contains(Node s, Node p, Node o)
boolean
contains(Triple t)
void
delete(Triple t)
boolean
dependsOn(Graph other)
ExtendedIterator<Triple>
find(Node s, Node p, Node o)
ExtendedIterator<Triple>
find(Triple triple)
Graph
get()
Capabilities
getCapabilities()
GraphEventManager
getEventManager()
PrefixMapping
getPrefixMapping()
TransactionHandler
getTransactionHandler()
boolean
isClosed()
boolean
isEmpty()
boolean
isIsomorphicWith(Graph g)
void
remove(Node s, Node p, Node o)
int
size()
-
-
-
Constructor Detail
-
GraphWrapper
public GraphWrapper(Graph graph)
-
-
Method Detail
-
get
public Graph get()
-
add
public void add(Triple t) throws AddDeniedException
- Specified by:
add
in interfaceGraph
- Throws:
AddDeniedException
-
getTransactionHandler
public TransactionHandler getTransactionHandler()
- Specified by:
getTransactionHandler
in interfaceGraph
-
getCapabilities
public Capabilities getCapabilities()
- Specified by:
getCapabilities
in interfaceGraph
-
getEventManager
public GraphEventManager getEventManager()
- Specified by:
getEventManager
in interfaceGraph
-
getPrefixMapping
public PrefixMapping getPrefixMapping()
- Specified by:
getPrefixMapping
in interfaceGraph
-
delete
public void delete(Triple t) throws DeleteDeniedException
- Specified by:
delete
in interfaceGraph
- Throws:
DeleteDeniedException
-
find
public ExtendedIterator<Triple> find(Triple triple)
-
find
public ExtendedIterator<Triple> find(Node s, Node p, Node o)
-
isIsomorphicWith
public boolean isIsomorphicWith(Graph g)
- Specified by:
isIsomorphicWith
in interfaceGraph
-
-