java.lang.Object
io.sf.carte.echosvg.dom.traversal.TraversalSupport
This class provides support for traversal.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateNodeIterator
(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Creates a new node iterator.static TreeWalker
createTreeWalker
(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Creates a new tree walker.void
Detaches the given node iterator.void
nodeToBeRemoved
(Node removedNode) Called by the DOM when a node will be removed from the current document.
-
Field Details
-
iterators
The iterators list.
-
-
Constructor Details
-
TraversalSupport
public TraversalSupport()Creates a new TraversalSupport.
-
-
Method Details
-
createTreeWalker
public static TreeWalker createTreeWalker(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) Creates a new tree walker. -
createNodeIterator
public NodeIterator createNodeIterator(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) throws DOMException Creates a new node iterator.- Throws:
DOMException
-
nodeToBeRemoved
Called by the DOM when a node will be removed from the current document. -
detachNodeIterator
Detaches the given node iterator.
-