org.exist.dom
Interface NodeIndexListener


public interface NodeIndexListener

This interface is used to report changes of the node id or the storage address of a node to classes which have to keep node sets up to date during processing. Used by the XUpdate classes to update the query result sets.

Author:
wolf

Method Summary
 void nodeChanged(long oldAddress, long newAddress)
          The storage address of a node has changed.
 void nodeChanged(NodeImpl node)
          The internal id of a node has changed.
 

Method Detail

nodeChanged

public void nodeChanged(NodeImpl node)
The internal id of a node has changed. The storage address is still the same, so one can find the changed node by comparing its storage address.

Parameters:
node -

nodeChanged

public void nodeChanged(long oldAddress,
                        long newAddress)
The storage address of a node has changed. This occurrs if a dom page is split during a modification.

Parameters:
oldAddress -
newAddress -


Copyright (C) Wolfgang Meier. All rights reserved.