Class GraphEvents

java.lang.Object
org.apache.jena.graph.GraphEvents

public class GraphEvents extends Object
GraphEvents is the base class for Jena general graph events. Each graph event has a title and some content.
  • Field Details

    • removeAll

      public static final GraphEvents removeAll
    • startRead

      public static final GraphEvents startRead
    • finishRead

      public static final GraphEvents finishRead
  • Constructor Details

    • GraphEvents

      public GraphEvents(String title, Object content)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • remove

      public static GraphEvents remove(Node s, Node p, Node o)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTriple

      public Triple getTriple()
      A fluid triple relevant to the event, or null if not applicable. For events generated by the Jena code base the title is always a String, and is one of:
      startRead
      finishRead
      null
      removeAll
      Triple.ANY
      remove
      The fluid triple being removed.
      Returns:
      An interesting triple.
    • getContent

      public Object getContent()
      For events generated by the Jena code base the content is one of:
      startRead
      finishRead
      removeAll
      The empty string.
      remove
      The (non-concrete) triple being removed.
    • getTitle

      public Object getTitle()
      For events generated by the Jena code base the title is always a String, and is one of:
      startRead
      startRead
      finishRead
      finishRead
      removeAll
      removeAll
      remove
      remove(Node, Node, Node)