org.nodal.model
Class TxnHandlerFilter

java.lang.Object
  extended byorg.nodal.model.TxnHandlerFilter
All Implemented Interfaces:
TxnHandler

public class TxnHandlerFilter
extends java.lang.Object
implements TxnHandler

A Filter class that can be used to instantiate a TxnHandler. Plain, it simply ignores all notifications, so it is normally used by subclassing and then only overriding those methods to be monitored.

Author:
leei

Constructor Summary
TxnHandlerFilter()
           
 
Method Summary
 void notifyInsertAfter(NodeContent c, int index, java.lang.Object value)
           
 void notifyInsertBefore(NodeContent c, int index, java.lang.Object value)
           
 void notifyRemoveKey(NodeContent c, java.lang.Object key)
           
 void notifyRemoveRange(NodeContent c, int start, int end)
           
 void notifyReplaceRange(NodeContent c, int start, int end, java.lang.Object seq)
           
 void notifySetField(NodeContent c, Name field, java.lang.Object value)
           
 void notifySetValue(NodeContent c, java.lang.Object property, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxnHandlerFilter

public TxnHandlerFilter()
Method Detail

notifyInsertBefore

public void notifyInsertBefore(NodeContent c,
                               int index,
                               java.lang.Object value)
Specified by:
notifyInsertBefore in interface TxnHandler

notifyInsertAfter

public void notifyInsertAfter(NodeContent c,
                              int index,
                              java.lang.Object value)
Specified by:
notifyInsertAfter in interface TxnHandler

notifyRemoveKey

public void notifyRemoveKey(NodeContent c,
                            java.lang.Object key)
Specified by:
notifyRemoveKey in interface TxnHandler

notifyRemoveRange

public void notifyRemoveRange(NodeContent c,
                              int start,
                              int end)
Specified by:
notifyRemoveRange in interface TxnHandler

notifyReplaceRange

public void notifyReplaceRange(NodeContent c,
                               int start,
                               int end,
                               java.lang.Object seq)
Specified by:
notifyReplaceRange in interface TxnHandler

notifySetValue

public void notifySetValue(NodeContent c,
                           java.lang.Object property,
                           java.lang.Object value)
Specified by:
notifySetValue in interface TxnHandler

notifySetField

public void notifySetField(NodeContent c,
                           Name field,
                           java.lang.Object value)