Class ModelListenerAdapter

java.lang.Object
org.apache.jena.rdf.model.impl.ModelListenerAdapter
All Implemented Interfaces:
GraphListener

public class ModelListenerAdapter extends Object implements GraphListener
Adapter class that converts a ModelChangedListener into a GraphListener. The only tricky bit is that we have to implement equality as equality of the underlying ModelChangedListeners/ModelCom pairs.

This implementation only works for ModelCom models, because it relies on various service methods; this gives the model the opportunity to cache various mappings for efficiency.