| org.ozoneDB.xml.dom.iterator.NodeIteratorListener
NodeIteratorListener | public interface NodeIteratorListener (Code) | | Listener interface allows node to notify iterator when a child is removed,
so iterator may adjust accordingly. When an iterator is created on a node
tree, the iterator is registered as a listener on that tree. When a node
is removed from that tree, the iterator is notified by the tree top node,
and if pointing to that node will adjust itself to point to a different node
that still belongs to the tree,
version: $Revision: 1.1 $ $Date: 2001/12/18 11:03:24 $ author: Assaf Arkin See Also: TreeIteratorImpl.asNodeIteratorListener See Also: ListIteratorImpl.asNodeIteratorListener |
Method Summary | |
public void | removeNode(Node node) Called to notify this iterator that a particular node has been removed.
If the iterator is pointing at that node, or one of its childern, it must
adjust accordingly.
This method only affects the iterator if it is pointing at the removed node
or a child of the removed node. |
removeNode | public void removeNode(Node node)(Code) | | Called to notify this iterator that a particular node has been removed.
If the iterator is pointing at that node, or one of its childern, it must
adjust accordingly.
This method only affects the iterator if it is pointing at the removed node
or a child of the removed node. It does not affect the iterator if it is
pointing to a parent of the removed node, or the removed node is on some
other branch of the document tree.
Parameters: node - The node being removed |
|
|