class JoiningNodeIterator extends NodeIterator
iterate the Nodes of a NodeList. Depending on
the XmlCompareMode given at construction it automatically joins Nodes of according
types by returning them as a DocumentFragment.| Modifier and Type | Field and Description |
|---|---|
private XmlCompareMode |
compareMode
The mode of comparison.
|
private Node |
next
Buffer for lookahead or
null. |
| Constructor and Description |
|---|
JoiningNodeIterator(NodeList nodeList,
XmlCompareMode mode)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Node |
findNext()
This method tries to find the
next element. |
findFirst, hasNext, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprivate final XmlCompareMode compareMode
private Node next
null.public JoiningNodeIterator(NodeList nodeList, XmlCompareMode mode)
nodeList - is the NodeList to iterate.mode - is the XmlCompareMode.protected Node findNext()
AbstractIteratornext element.findNext in class NodeIteratornull if done.Copyright © 2001–2016 mmm-Team. All rights reserved.