org.apache.batik.dom.traversal

Class TraversalSupport

public class TraversalSupport extends Object

This class provides support for traversal.
Field Summary
protected Listiterators
The iterators list.
Constructor Summary
TraversalSupport()
Creates a new TraversalSupport.
Method Summary
NodeIteratorcreateNodeIterator(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)
Creates a new node iterator.
static TreeWalkercreateTreeWalker(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)
Creates a new tree walker.
voiddetachNodeIterator(NodeIterator it)
Detaches the given node iterator.
voidnodeToBeRemoved(Node removedNode)
Called by the DOM when a node will be removed from the current document.

Field Detail

iterators

protected List iterators
The iterators list.

Constructor Detail

TraversalSupport

public TraversalSupport()
Creates a new TraversalSupport.

Method Detail

createNodeIterator

public NodeIterator createNodeIterator(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)
Creates a new node iterator.

createTreeWalker

public static TreeWalker createTreeWalker(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)
Creates a new tree walker.

detachNodeIterator

public void detachNodeIterator(NodeIterator it)
Detaches the given node iterator.

nodeToBeRemoved

public void nodeToBeRemoved(Node removedNode)
Called by the DOM when a node will be removed from the current document.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.