public class TreeWalker
extends de.vc.util.tree.DecoratedTreeWalker
Constructor and Description |
---|
TreeWalker(Node node) |
Modifier and Type | Method and Description |
---|---|
Node |
getNode()
Gets the current node.
|
boolean |
seekLastBlock()
Seeks the last fo:block element of the current node.
|
void |
stepOutToBlock()
Steps out until the current node is a child of a Block.
|
void |
stepOutToContainer()
Steps out until the current node is a child of a container.
|
void |
stepOutToNodeType(java.lang.Class nodeType)
Steps out until the current node has type nodeType.
|
insertAtEnd, insertAtStart, isEmpty, removeFirst, removeLast, selectAfterLastElement, selectBeforeFirstElement, selectFirstElement, selectLastElement
public TreeWalker(Node node)
public Node getNode()
public void stepOutToContainer()
public void stepOutToBlock()
public void stepOutToNodeType(java.lang.Class nodeType)
nodeType
- Classpublic boolean seekLastBlock()
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.