org.apache.jackrabbit.mk.model
Class TraversingNodeDiffHandler
java.lang.Object
org.apache.jackrabbit.mk.model.NodeStateDiff
org.apache.jackrabbit.mk.model.TraversingNodeDiffHandler
public abstract class TraversingNodeDiffHandler
- extends 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()
start
public void start(NodeState before,
NodeState after)
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 class:
NodeStateDiff
- Called by
NodeStateDiff.compare(NodeState, NodeState) for all changed
child nodes. The default implementation does nothing.
- Overrides:
childNodeChanged in class 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.