Class TraversalSupport

java.lang.Object
io.sf.carte.echosvg.dom.traversal.TraversalSupport

public class TraversalSupport extends Object
This class provides support for traversal.
  • Field Details

  • 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

      public void nodeToBeRemoved(Node removedNode)
      Called by the DOM when a node will be removed from the current document.
    • detachNodeIterator

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