java.lang.Object | |
↳ | org.apache.xerces.dom.NodeIteratorImpl |
DefaultNodeIterator implements a NodeIterator, which iterates a DOM tree in the expected depth first way.
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.@xerces.internal
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return whether children entity references are included in the iterator.
| |||||||||||
Return the filter
| |||||||||||
Return the whatToShow value
| |||||||||||
Return the next Node in the Iterator.
| |||||||||||
Return the previous Node in the Iterator.
| |||||||||||
Fix-up the iterator on a remove.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.w3c.dom.traversal.NodeIterator
|
Public constructor
Return whether children entity references are included in the iterator.
Return the filter
Return the whatToShow value
Return the next Node in the Iterator. The node is the next node in depth-first order which also passes the filter, and whatToShow. If there is no next node which passes these criteria, then return null.
Return the previous Node in the Iterator. The node is the next node in _backwards_ depth-first order which also passes the filter, and whatToShow.
Fix-up the iterator on a remove. Called by DOM or otherwise, before an actual DOM remove.