CHAPTER 12The Decorator Pattern
The Structure of the Decorator
A decorator allows you to add functionality to an object. This can be used in place of large numbers of subclasses. To illustrate ...