|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xerial.util.bean.TreeWalker
public abstract class TreeWalker
An depth-first walker interface of tree structured data
| Constructor Summary | |
|---|---|
protected |
TreeWalker(TreeVisitor visitor)
|
| Method Summary | |
|---|---|
abstract TreeNode |
getSubTree()
Gets the entire subtree beginning from the current node, and skips the descendants. |
TreeVisitor |
getTreeVisitor()
|
abstract void |
skipDescendants()
Skip the descendants of the current node |
abstract void |
walk()
Start walking |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TreeWalker(TreeVisitor visitor)
| Method Detail |
|---|
public TreeVisitor getTreeVisitor()
public abstract void walk()
throws XerialException
XerialExceptionpublic abstract void skipDescendants()
public abstract TreeNode getSubTree()
throws BeanException
TreeNode representation of the tree structured data beginning from the current node
BeanException - TODO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
