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 NodeTreeVisitor
node
- to visitpublic boolean onChildNodeStart(Node parent, Node child, int index, boolean hasMore)
onChildNodeStart
in interface NodeTreeVisitor
parent
- 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 NodeTreeVisitor
public void onNodeEnd(Node node)
onNodeEnd
in interface NodeTreeVisitor
Copyright © 2001–2021 Apache Cayenne. All rights reserved.