Template Method Design Pattern
The informal description: Excerpts from [Gamma et al. 1995] (adapted for this purpose):
Intent: Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure.
Structure: Original OMT diagram converted to UML (Why and How?):
Collaborations: ConcreteClass relies on AbstractClass to implement the invariant steps of the algorithm.
|Template Method in LePUS3 (legend)|
|Template Method in Class-Z (legend)|