Interface UnionGraph.EventManager

All Superinterfaces:
org.apache.jena.graph.GraphEventManager, org.apache.jena.graph.GraphListener, UnionGraph.Listener
All Known Implementing Classes:
OntUnionGraphListener, UnionGraphImpl.EventManagerImpl
Enclosing interface:
UnionGraph

public static interface UnionGraph.EventManager extends org.apache.jena.graph.GraphEventManager, UnionGraph.Listener
An enhanced Jena Graph Event Manager and UnionGraph.Listeners.
  • Method Summary

    Modifier and Type
    Method
    Description
    Stream<org.apache.jena.graph.GraphListener>
    Lists all encapsulated listeners.
    default <L extends org.apache.jena.graph.GraphListener>
    Stream<L>
    listeners(Class<L> type)
    Lists all encapsulated listeners for the given type.
    void
    off()
    Turns off all listeners.
    void
    on()
    Turns on all listeners.

    Methods inherited from interface org.apache.jena.graph.GraphEventManager

    listening, notifyAddIterator, notifyDeleteIterator, register, unregister

    Methods inherited from interface org.apache.jena.graph.GraphListener

    notifyAddArray, notifyAddGraph, notifyAddIterator, notifyAddList, notifyAddTriple, notifyDeleteArray, notifyDeleteGraph, notifyDeleteIterator, notifyDeleteList, notifyDeleteTriple, notifyEvent
  • Method Details

    • off

      void off()
      Turns off all listeners.
    • on

      void on()
      Turns on all listeners.
    • listeners

      Stream<org.apache.jena.graph.GraphListener> listeners()
      Lists all encapsulated listeners.
      Returns:
      Stream of GraphListeners
    • listeners

      default <L extends org.apache.jena.graph.GraphListener> Stream<L> listeners(Class<L> type)
      Lists all encapsulated listeners for the given type.
      Type Parameters:
      L - Class-type of GraphListener
      Parameters:
      type - L
      Returns:
      Stream of GraphListeners