1 6 7 package com.hp.hpl.jena.rdf.listeners; 8 9 import com.hp.hpl.jena.rdf.model.*; 10 import java.util.*; 11 12 18 public class ObjectListener implements ModelChangedListener 19 { 20 24 public void added( Object x ) {} 25 29 public void removed( Object x ) {} 30 31 public void addedStatement( Statement s ) { added( s ); } 32 public void addedStatements( Statement [] statements ) { added( statements ); } 33 public void addedStatements( List statements ) { added( statements ); } 34 public void addedStatements( StmtIterator statements ) { added( statements ); } 35 public void addedStatements( Model m ) { added( m ); } 36 public void removedStatement( Statement s ) { removed( s ); } 37 public void removedStatements( Statement [] statements ) { removed( statements ); } 38 public void removedStatements( List statements ) { removed( statements ); } 39 public void removedStatements( StmtIterator statements ) { removed( statements ); } 40 public void removedStatements( Model m ) { removed( m ); } 41 public void notifyEvent( Model m, Object event ) {} 42 } 43 44 | Popular Tags |