Class ObservableSubGraph

java.lang.Object
org.apache.jena.graph.impl.GraphBase
org.aksw.jena_sparql_api.collection.observable.GraphWithFilter
org.aksw.jena_sparql_api.collection.observable.ObservableSubGraph
All Implemented Interfaces:
ObservableGraph, org.apache.jena.graph.Graph, org.apache.jena.graph.impl.GraphWithPerform

public class ObservableSubGraph extends GraphWithFilter implements ObservableGraph
This is a mutable graph view based on filtering a delegate ObservableGraph's triples. Listeners registered on this class are wrapped with a filtering listener that gets registered on the delegate. All access and modification methods (add/delete/remove/find/clear) only affect the set of triples that match the given TripleConstraint. Addition of triples for which the predicate tests to false are silently discarded.
Author:
raven