Composite Pattern

The Composite can be seen in action in the CompositeTag class. All tags that can have children subclass CompositeTag, which contains methods for iterating over these children in a uniform way. A CompositeTag can be composed of leaf nodes or CompositeTags.

--SomikRaha


Last edited on Sunday, February 16, 2003 4:52:03 pm.