Package io.keikai.doc.collab.types
Class YXmlTreeWalker
java.lang.Object
io.keikai.doc.collab.types.YXmlTreeWalker
Represents a subset of the nodes of a YXmlElement / YXmlFragment and a
position within them.
Can be created with YXmlFragment.createTreeWalker(java.util.function.Function<io.keikai.doc.collab.types.AbstractType, java.lang.Boolean>)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
YXmlTreeWalker
- Parameters:
root- The root element to start walking from.filter- The filter function to apply on the nodes.
-
-
Method Details
-
next
Get the next node.- Returns:
- The next node.
-