[jdom-interest] Design Patterns

Trimmer, Todd todd.trimmer at trizetto.com
Wed May 2 09:04:36 PDT 2001


More than one request to add functionality has been responded with "Use a
Decorator for this" or "Use a Visitor for that."

Both of these patterns assume a base class for a hierarchy of objects to be
acted upon. Does anyone realize how much harder these patterns are to
implement without an underlying interface? Wouldn't Node solve this problem?



Todd Trimmer



More information about the jdom-interest mailing list