Package org.apache.jena.sparql.graph
Class GraphReadOnly
- java.lang.Object
-
- org.apache.jena.graph.impl.WrappedGraph
-
- org.apache.jena.sparql.graph.GraphReadOnly
-
- All Implemented Interfaces:
Graph,GraphWithPerform
public class GraphReadOnly extends WrappedGraph
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
-
Constructor Summary
Constructors Constructor Description GraphReadOnly(Graph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Triple t)voidclear()voiddelete(Triple t)TransactionHandlergetTransactionHandler()voidperformAdd(Triple t)voidperformDelete(Triple t)voidremove(Node s, Node p, Node o)-
Methods inherited from class org.apache.jena.graph.impl.WrappedGraph
close, contains, contains, dependsOn, find, find, getCapabilities, getEventManager, getPrefixMapping, getWrapped, isClosed, isEmpty, isIsomorphicWith, size
-
-
-
-
Constructor Detail
-
GraphReadOnly
public GraphReadOnly(Graph graph)
-
-
Method Detail
-
add
public void add(Triple t) throws AddDeniedException
- Specified by:
addin interfaceGraph- Overrides:
addin classWrappedGraph- Throws:
AddDeniedException
-
performAdd
public void performAdd(Triple t) throws AddDeniedException
- Specified by:
performAddin interfaceGraphWithPerform- Overrides:
performAddin classWrappedGraph- Throws:
AddDeniedException
-
delete
public void delete(Triple t) throws DeleteDeniedException
- Specified by:
deletein interfaceGraph- Overrides:
deletein classWrappedGraph- Throws:
DeleteDeniedException
-
performDelete
public void performDelete(Triple t) throws DeleteDeniedException
- Specified by:
performDeletein interfaceGraphWithPerform- Overrides:
performDeletein classWrappedGraph- Throws:
DeleteDeniedException
-
remove
public void remove(Node s, Node p, Node o)
- Specified by:
removein interfaceGraph- Overrides:
removein classWrappedGraph
-
clear
public void clear()
- Specified by:
clearin interfaceGraph- Overrides:
clearin classWrappedGraph
-
getTransactionHandler
public TransactionHandler getTransactionHandler()
- Specified by:
getTransactionHandlerin interfaceGraph- Overrides:
getTransactionHandlerin classWrappedGraph
-
-