public abstract class SimpleNodeTreeVisitor extends Object implements NodeTreeVisitor
| Constructor and Description |
|---|
SimpleNodeTreeVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onChildNodeEnd(Node parent,
Node child,
int index,
boolean hasMore) |
boolean |
onChildNodeStart(Node parent,
Node child,
int index,
boolean hasMore) |
void |
onNodeEnd(Node node) |
boolean |
onNodeStart(Node node) |
public boolean onNodeStart(Node node)
onNodeStart in interface NodeTreeVisitornode - to visitpublic boolean onChildNodeStart(Node parent, Node child, int index, boolean hasMore)
onChildNodeStart in interface NodeTreeVisitorparent - nodechild - nodeindex - of this child in parenthasMore - true if more children after this childpublic void onChildNodeEnd(Node parent, Node child, int index, boolean hasMore)
onChildNodeEnd in interface NodeTreeVisitorpublic void onNodeEnd(Node node)
onNodeEnd in interface NodeTreeVisitorCopyright © 2001–2021 Apache Cayenne. All rights reserved.