org.planx.xmlstore.references
Interface ReferenceListener

All Known Implementing Classes:
AbstractReferenceListener

public interface ReferenceListener

Listens for Reference events such as the relocation of data pointed to by a location dependent reference (Locator), and the mapping of a node to a location independent value reference.

Author:
Thomas Ambus

Method Summary
 ContentValueReference lookup(Node node)
          Request a lookup of the value reference of a node.
 void referenceComputed(Node node, ContentValueReference vref)
          Allow the listener to register a new mapping between a node and a value reference.
 void referenceMoved(Locator oldLoc, Locator newLoc)
          Indicates that the data pointed to by oldLoc has been relocated to newLoc.
 

Method Detail

referenceMoved

void referenceMoved(Locator oldLoc,
                    Locator newLoc)
Indicates that the data pointed to by oldLoc has been relocated to newLoc.


lookup

ContentValueReference lookup(Node node)
Request a lookup of the value reference of a node.


referenceComputed

void referenceComputed(Node node,
                       ContentValueReference vref)
Allow the listener to register a new mapping between a node and a value reference.



Copyright © 2010. All Rights Reserved.