public interface Visitor
| Modifier and Type | Interface and Description |
|---|---|
static class |
Visitor.Default
Empty implementation of Visitor
|
static class |
Visitor.Print
Visitor prints the Groups and Entries it visits
|
| Modifier and Type | Method and Description |
|---|---|
void |
endVisit(Group group)
Called on exit from a group visit
|
boolean |
isEntriesFirst()
called to determine whether to visit entries before subgroups, or not
|
void |
startVisit(Group group)
Called on entry to a group visit
|
void |
visit(Entry entry)
Called on visit to an entry
|
void startVisit(Group group)
group - the group being visitedvoid endVisit(Group group)
group - the group being exitedvoid visit(Entry entry)
entry - the entry being visitedboolean isEntriesFirst()
Copyright © 2018. All rights reserved.