public void addListener ( final ORecordListener iListener ) { if ( _listeners == null ) _listeners = Collections . newSetFromMap ( new WeakHashMap < ORecordListener , Boolean > ( ) ) ; _listeners . add ( iListener ) ; }
Add a listener to the current document to catch all the supported events .