public abstract static class TreeAppendable.Visitor extends Object
visitor can be used
to manipulate an existing TreeAppendable or to create a completely new one recursively.
Implementors may override visit(String) and visit(TreeAppendable)| Constructor and Description |
|---|
TreeAppendable.Visitor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
visit(String string)
Manipulate the given string and return the result.
|
protected TreeAppendable |
visit(TreeAppendable original)
Manipulate the given appendable or return a new one.
|
protected void |
visitChildren(TreeAppendable parent)
Traverses the children of the given appendable and manipulates it in-place.
|
protected TreeAppendable visit(TreeAppendable original)
original - the visited TreeAppendableprotected void visitChildren(TreeAppendable parent)
parent - the appendable whose children should be visited.Copyright © 2015. All Rights Reserved.