You can use a base filter which serves as a common superclass for all filters. Common features can be encapsulated in the base filter and shared among all filters. For example, a base filter is a good place to include default behavior for the container callback methods.
At the mean time, template method can be also integrated into the base filter. As shown in this diagram.
Monday, April 30, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment