public class DepthFirstNodeIterator extends AbstractIterator<ChildNodeEntry>
Constructor and Description |
---|
DepthFirstNodeIterator(NodeState root) |
Modifier and Type | Method and Description |
---|---|
protected ChildNodeEntry |
computeNext() |
NodeBuilder |
getBuilder(NodeBuilder rootBuilder) |
java.lang.String |
getPath() |
void |
reset() |
DepthFirstNodeIterator |
switchRoot(NodeState newRoot) |
endOfData, hasNext, next, peek
remove
public DepthFirstNodeIterator(NodeState root)
public void reset()
protected ChildNodeEntry computeNext()
computeNext
in class AbstractIterator<ChildNodeEntry>
public NodeBuilder getBuilder(NodeBuilder rootBuilder)
public java.lang.String getPath()
public DepthFirstNodeIterator switchRoot(NodeState newRoot)
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.