Class GraphReadOnly

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

    Constructors
    Constructor
    Description
    GraphReadOnly(org.apache.jena.graph.Graph graph)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(org.apache.jena.graph.Triple t)
     
    void
     
    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 interface org.apache.jena.graph.Graph
      Overrides:
      add in class org.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 interface org.apache.jena.graph.impl.GraphWithPerform
      Overrides:
      performAdd in class org.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 interface org.apache.jena.graph.Graph
      Overrides:
      delete in class org.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 interface org.apache.jena.graph.impl.GraphWithPerform
      Overrides:
      performDelete in class org.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 interface org.apache.jena.graph.Graph
      Overrides:
      remove in class org.apache.jena.graph.impl.WrappedGraph
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.jena.graph.Graph
      Overrides:
      clear in class org.apache.jena.graph.impl.WrappedGraph
    • getTransactionHandler

      public org.apache.jena.graph.TransactionHandler getTransactionHandler()
      Specified by:
      getTransactionHandler in interface org.apache.jena.graph.Graph
      Overrides:
      getTransactionHandler in class org.apache.jena.graph.impl.WrappedGraph
    • getPrefixMapping

      public org.apache.jena.shared.PrefixMapping getPrefixMapping()
      Specified by:
      getPrefixMapping in interface org.apache.jena.graph.Graph
      Overrides:
      getPrefixMapping in class org.apache.jena.graph.impl.WrappedGraph