[jdom-interest] no getChildTextNormalize() ?

philip.nelson at omniresources.com philip.nelson at omniresources.com
Mon Oct 1 07:17:45 PDT 2001

> > On the other hand, I have often regretted moving the interface of an
> > aggregated class upwards to the aggregate.  It clutters the
> > aggregate, could
> > have issues with subclasses, and as was pointed out, makes
> > the drop downs in my ide harder to read.
> I think this is too abstract for my feeble little brain to 
> handle. Can you
> spell out what you're talking about here?


There I go again...

In this case I mean that by moving the accessors for the child information
up to the parent class, the interface for the parent (Element in this case)
gets extra cluttered.  I have also done this where the "child" is in a
different class and I duplicated some of that child's methods to the parent,
or aggregate in this case.  It's uglier than it's worth IMHO.

I was hoping you would join this thread.  Didn't you already start a helper
class for this kind of thing?

More information about the jdom-interest mailing list