org.apache.xerces.dom
public class NodeIteratorImpl extends Object implements NodeIterator
The whatToShow and filter functionality is implemented as expected.
This class also has method removeNode to enable iterator "fix-up" on DOM remove. It is expected that the DOM implementation call removeNode right before the actual DOM transformation. If not called by the DOM, the client could call it before doing the removal.
Version: $Id: NodeIteratorImpl.java,v 1.13 2004/10/05 17:12:49 mrglavas Exp $
Constructor Summary | |
---|---|
NodeIteratorImpl(DocumentImpl document, Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion) Public constructor |
Method Summary | |
---|---|
void | detach() |
boolean | getExpandEntityReferences() Return whether children entity references are included in the iterator. |
NodeFilter | getFilter() Return the filter |
Node | getRoot() |
int | getWhatToShow() Return the whatToShow value |
Node | nextNode() Return the next Node in the Iterator. |
Node | previousNode() Return the previous Node in the Iterator. |
void | removeNode(Node node) Fix-up the iterator on a remove. |