java.lang.Object
org.apache.jena.graph.impl.WrappedGraph
org.apache.jena.sparql.graph.GraphReadOnly
- All Implemented Interfaces:
org.apache.jena.graph.Graph
,org.apache.jena.graph.impl.GraphWithPerform
public class GraphReadOnly
extends org.apache.jena.graph.impl.WrappedGraph
-
Field Summary
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(org.apache.jena.graph.Triple t) void
clear()
void
delete
(org.apache.jena.graph.Triple t) org.apache.jena.shared.PrefixMapping
org.apache.jena.graph.TransactionHandler
void
performAdd
(org.apache.jena.graph.Triple t) void
performDelete
(org.apache.jena.graph.Triple t) void
remove
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) Methods inherited from class org.apache.jena.graph.impl.WrappedGraph
close, contains, contains, dependsOn, find, find, getCapabilities, getEventManager, getWrapped, isClosed, isEmpty, isIsomorphicWith, size
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.graph.Graph
add, delete, find, sizeLong, stream, stream
-
Constructor Details
-
GraphReadOnly
public GraphReadOnly(org.apache.jena.graph.Graph graph)
-
-
Method Details
-
add
public void add(org.apache.jena.graph.Triple t) throws org.apache.jena.shared.AddDeniedException - Specified by:
add
in interfaceorg.apache.jena.graph.Graph
- Overrides:
add
in classorg.apache.jena.graph.impl.WrappedGraph
- Throws:
org.apache.jena.shared.AddDeniedException
-
performAdd
public void performAdd(org.apache.jena.graph.Triple t) throws org.apache.jena.shared.AddDeniedException - Specified by:
performAdd
in interfaceorg.apache.jena.graph.impl.GraphWithPerform
- Overrides:
performAdd
in classorg.apache.jena.graph.impl.WrappedGraph
- Throws:
org.apache.jena.shared.AddDeniedException
-
delete
public void delete(org.apache.jena.graph.Triple t) throws org.apache.jena.shared.DeleteDeniedException - Specified by:
delete
in interfaceorg.apache.jena.graph.Graph
- Overrides:
delete
in classorg.apache.jena.graph.impl.WrappedGraph
- Throws:
org.apache.jena.shared.DeleteDeniedException
-
performDelete
public void performDelete(org.apache.jena.graph.Triple t) throws org.apache.jena.shared.DeleteDeniedException - Specified by:
performDelete
in interfaceorg.apache.jena.graph.impl.GraphWithPerform
- Overrides:
performDelete
in classorg.apache.jena.graph.impl.WrappedGraph
- Throws:
org.apache.jena.shared.DeleteDeniedException
-
remove
public void remove(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) - Specified by:
remove
in interfaceorg.apache.jena.graph.Graph
- Overrides:
remove
in classorg.apache.jena.graph.impl.WrappedGraph
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.jena.graph.Graph
- Overrides:
clear
in classorg.apache.jena.graph.impl.WrappedGraph
-
getTransactionHandler
public org.apache.jena.graph.TransactionHandler getTransactionHandler()- Specified by:
getTransactionHandler
in interfaceorg.apache.jena.graph.Graph
- Overrides:
getTransactionHandler
in classorg.apache.jena.graph.impl.WrappedGraph
-
getPrefixMapping
public org.apache.jena.shared.PrefixMapping getPrefixMapping()- Specified by:
getPrefixMapping
in interfaceorg.apache.jena.graph.Graph
- Overrides:
getPrefixMapping
in classorg.apache.jena.graph.impl.WrappedGraph
-