org.planx.xmlstore.references
Class AbstractReferenceListener

java.lang.Object
  extended by org.planx.xmlstore.references.AbstractReferenceListener
All Implemented Interfaces:
ReferenceListener

public abstract class AbstractReferenceListener
extends Object
implements ReferenceListener


Constructor Summary
AbstractReferenceListener()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReferenceListener

public AbstractReferenceListener()
Method Detail

referenceMoved

public void referenceMoved(Locator oldLoc,
                           Locator newLoc)
Description copied from interface: ReferenceListener
Indicates that the data pointed to by oldLoc has been relocated to newLoc.

Specified by:
referenceMoved in interface ReferenceListener

lookup

public ContentValueReference lookup(Node node)
Description copied from interface: ReferenceListener
Request a lookup of the value reference of a node.

Specified by:
lookup in interface ReferenceListener

referenceComputed

public void referenceComputed(Node node,
                              ContentValueReference vref)
Description copied from interface: ReferenceListener
Allow the listener to register a new mapping between a node and a value reference.

Specified by:
referenceComputed in interface ReferenceListener


Copyright © 2010. All Rights Reserved.