org.nodal.model
Interface TxnHandler
- All Known Implementing Classes:
- TxnHandlerFilter, TxnMonitorableUtil
- public interface TxnHandler
Provide a means by which Node change notifications can be passed to
handlers. If we instantiate an instance of this class and provide it
to a Notifier, then the appropriate methods will be called when the
operations are performed in the selected context.
- Author:
- leei
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 |
notifySetValue(NodeContent c,
java.lang.Object property,
java.lang.Object value)
|
notifyInsertBefore
public void notifyInsertBefore(NodeContent c,
int index,
java.lang.Object value)
notifyInsertAfter
public void notifyInsertAfter(NodeContent c,
int index,
java.lang.Object value)
notifyRemoveKey
public void notifyRemoveKey(NodeContent c,
java.lang.Object key)
notifyRemoveRange
public void notifyRemoveRange(NodeContent c,
int start,
int end)
notifyReplaceRange
public void notifyReplaceRange(NodeContent c,
int start,
int end,
java.lang.Object seq)
notifySetValue
public void notifySetValue(NodeContent c,
java.lang.Object property,
java.lang.Object value)