org.apache.jackrabbit.mk.model
Class TraversingNodeDiffHandler

java.lang.Object
  extended by org.apache.jackrabbit.mk.model.TraversingNodeDiffHandler
All Implemented Interfaces:
NodeStateDiff

public abstract class TraversingNodeDiffHandler
extends Object
implements NodeStateDiff


Field Summary
protected  Stack<String> paths
           
 
Constructor Summary
TraversingNodeDiffHandler(NodeStore store)
           
 
Method Summary
 void childNodeChanged(String name, NodeState before, NodeState after)
          Called for all changed child nodes.
protected  String getCurrentPath()
           
 void start(NodeState before, NodeState after, String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jackrabbit.mk.model.NodeStateDiff
childNodeAdded, childNodeDeleted, propertyAdded, propertyChanged, propertyDeleted
 

Field Detail

paths

protected Stack<String> paths
Constructor Detail

TraversingNodeDiffHandler

public TraversingNodeDiffHandler(NodeStore store)
Method Detail

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 node
before - child node state before the change
after - child node state after the change


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.