Navigator pattern

Printer-friendly versionPrinter-friendly version
Double dispatch pattern

 

The following UML sequence diagram shows selected interactions for the basic variant of the Navigator pattern:

 

Navigator pattern - basic - Interaction Sequence diagram.png
(click on the image)

 

 

Enhanced Navigator pattern

The following UML class diagram shows an enhanced variant of the Navigator pattern, where the navigators make use of navigation phases, allowing for a unified "admit" operation on the navigables side and a unified "access" operation on the navigators side, the navigators use routing to omit a certain navigation phase, the client can pass navigation strategies to the navigators, and the navigators maintain logbooks to provide a total control and information over the navigation:

 

Navigator pattern - enhanced - Class diagram.png
(click on the image)

 

 

Pages