public class TraversalSupport
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
iterators
The iterators list.
|
Constructor and Description |
---|
TraversalSupport()
Creates a new TraversalSupport.
|
Modifier and Type | Method and Description |
---|---|
NodeIterator |
createNodeIterator(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 |
detachNodeIterator(NodeIterator it)
Detaches the given node iterator.
|
void |
nodeToBeRemoved(Node removedNode)
Called by the DOM when a node will be removed from the current document.
|
public static TreeWalker createTreeWalker(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)
public NodeIterator createNodeIterator(AbstractDocument doc, Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) throws DOMException
DOMException
public void nodeToBeRemoved(Node removedNode)
public void detachNodeIterator(NodeIterator it)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.