public abstract class SplitNodeAdapter extends Object implements SplitNodeVisitor
SplitNodeVisitor, all methods call handle(SplitNode).| Constructor and Description |
|---|
SplitNodeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handle(SplitNode node) |
void |
handleLeaf(Leaf leaf)
Invoked when visiting a leaf of the tree.
|
void |
handleNode(Node node)
Invoked when visiting a node of the tree.
|
void |
handlePlaceholder(Placeholder placeholder)
Invoked when visiting a leaf that is a placeholder.
|
void |
handleRoot(Root root)
Invoked when visiting the root of the tree.
|
public void handleLeaf(Leaf leaf)
SplitNodeVisitorhandleLeaf in interface SplitNodeVisitorleaf - the treepublic void handleNode(Node node)
SplitNodeVisitorhandleNode in interface SplitNodeVisitornode - a nodepublic void handlePlaceholder(Placeholder placeholder)
SplitNodeVisitorhandlePlaceholder in interface SplitNodeVisitorplaceholder - the placeholderpublic void handleRoot(Root root)
SplitNodeVisitorhandleRoot in interface SplitNodeVisitorroot - the rootprotected void handle(SplitNode node)
Copyright © 2017 Docking Frames. All rights reserved.