|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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,
Method Summary | |
void |
removeNode(org.w3c.dom.Node node)
Called to notify this iterator that a particular node has been removed. |
Method Detail |
public void removeNode(org.w3c.dom.Node node)
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.
node
- The node being removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |