org.apache.jackrabbit.mk.model
Class TraversingNodeDiffHandler
java.lang.Object
org.apache.jackrabbit.mk.model.TraversingNodeDiffHandler
- All Implemented Interfaces:
- NodeStateDiff
public abstract class TraversingNodeDiffHandler
- extends Object
- implements NodeStateDiff
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paths
protected Stack<String> paths
TraversingNodeDiffHandler
public TraversingNodeDiffHandler(NodeStore store)
start
public void start(NodeState before,
NodeState after,
String path)
getCurrentPath
protected String getCurrentPath()
childNodeChanged
public void childNodeChanged(String name,
NodeState before,
NodeState after)
- Description copied from interface:
NodeStateDiff
- Called for all changed child nodes.
- Specified by:
childNodeChanged in interface NodeStateDiff
- Parameters:
name - name of the changed child nodebefore - child node state before the changeafter - child node state after the change
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.