Interface NodeTreeVisitor
-
- All Known Implementing Classes:
BaseSQLTreeProcessor,DB2SQLTreeProcessor,DerbySQLTreeProcessor,FirebirdSQLTreeProcessor,FrontBaseSQLTreeProcessor,H2SQLTreeProcessor,HSQLTreeProcessor,IngressSQLTreeProcessor,MySQLTreeProcessor,OpenBaseSQLTreeProcessor,OracleSQLTreeProcessor,PostgreSQLTreeProcessor,SimpleNodeTreeVisitor,SQLGenerationVisitor,SQLiteTreeProcessor,SQLServerTreeProcessor,SQLServerTreeProcessorV12,SybaseSQLTreeProcessor,TypeAwareSQLTreeProcessor
public interface NodeTreeVisitor- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChildNodeEnd(Node parent, Node child, int index, boolean hasMore)booleanonChildNodeStart(Node parent, Node child, int index, boolean hasMore)voidonNodeEnd(Node node)booleanonNodeStart(Node node)
-
-
-
Method Detail
-
onNodeStart
boolean onNodeStart(Node node)
- Parameters:
node- to visit- Returns:
- false if visitor should stop
-
onChildNodeStart
boolean onChildNodeStart(Node parent, Node child, int index, boolean hasMore)
- Parameters:
parent- nodechild- nodeindex- of this child in parenthasMore- true if more children after this child- Returns:
- false if visitor should stop
-
onNodeEnd
void onNodeEnd(Node node)
-
-