com.hp.hpl.jena.sparql.graph
Class GraphWrapper

java.lang.Object
  extended by com.hp.hpl.jena.sparql.graph.GraphWrapper
All Implemented Interfaces:
Graph, GraphAdd

public class GraphWrapper
extends Object
implements Graph

Graph wrapper


Field Summary
 
Fields inherited from interface com.hp.hpl.jena.graph.Graph
emptyGraph
 
Constructor Summary
GraphWrapper(Graph graph)
           
 
Method Summary
 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)
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(Node s, Node p, Node o)
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(TripleMatch m)
           
 Graph get()
           
 BulkUpdateHandler getBulkUpdateHandler()
          Deprecated. 
 Capabilities getCapabilities()
           
 GraphEventManager getEventManager()
           
 PrefixMapping getPrefixMapping()
           
 GraphStatisticsHandler getStatisticsHandler()
           
 TransactionHandler getTransactionHandler()
           
 boolean isClosed()
           
 boolean isEmpty()
           
 boolean isIsomorphicWith(Graph g)
           
 void remove(Node s, Node p, Node o)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface Graph
Specified by:
add in interface GraphAdd
Throws:
AddDeniedException

dependsOn

public boolean dependsOn(Graph other)
Specified by:
dependsOn in interface Graph

getTransactionHandler

public TransactionHandler getTransactionHandler()
Specified by:
getTransactionHandler in interface Graph

getBulkUpdateHandler

@Deprecated
public BulkUpdateHandler getBulkUpdateHandler()
Deprecated. 

Specified by:
getBulkUpdateHandler in interface Graph

getCapabilities

public Capabilities getCapabilities()
Specified by:
getCapabilities in interface Graph

getEventManager

public GraphEventManager getEventManager()
Specified by:
getEventManager in interface Graph

getStatisticsHandler

public GraphStatisticsHandler getStatisticsHandler()
Specified by:
getStatisticsHandler in interface Graph

getPrefixMapping

public PrefixMapping getPrefixMapping()
Specified by:
getPrefixMapping in interface Graph

delete

public void delete(Triple t)
            throws DeleteDeniedException
Specified by:
delete in interface Graph
Throws:
DeleteDeniedException

find

public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(TripleMatch m)
Specified by:
find in interface Graph

find

public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(Node s,
                                                                   Node p,
                                                                   Node o)
Specified by:
find in interface Graph

isIsomorphicWith

public boolean isIsomorphicWith(Graph g)
Specified by:
isIsomorphicWith in interface Graph

contains

public boolean contains(Node s,
                        Node p,
                        Node o)
Specified by:
contains in interface Graph

contains

public boolean contains(Triple t)
Specified by:
contains in interface Graph

close

public void close()
Specified by:
close in interface Graph

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Graph

size

public int size()
Specified by:
size in interface Graph

isClosed

public boolean isClosed()
Specified by:
isClosed in interface Graph

clear

public void clear()
Specified by:
clear in interface Graph

remove

public void remove(Node s,
                   Node p,
                   Node o)
Specified by:
remove in interface Graph


Licenced under the Apache License, Version 2.0