static class AbstractKeyList.NameVisitor extends DefaultKeyVisitor
NameVisitor
constructs a readable representation of the
Passage.Modifier and Type | Field and Description |
---|---|
protected StringBuilder |
buffer |
Constructor and Description |
---|
AbstractKeyList.NameVisitor()
Create a
NameVisitor . |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
void |
visitLeaf(Key key)
We've found a leaf node in a Key tree, and are giving the visitor a
chance to do processing based on it.
|
visitBranch
protected StringBuilder buffer
public void visitLeaf(Key key)
KeyVisitor
visitLeaf
in interface KeyVisitor
visitLeaf
in class DefaultKeyVisitor
key
- The found leaf node.