[jdom-interest] Text class (Question)

philip.nelson at omniresources.com philip.nelson at omniresources.com
Mon May 28 09:36:01 PDT 2001


> So why not just sbuclassing StringBuffer as it was suggested 
> in the mail
> I replied to - and implement the additional methods needed for the
> node interface?

A stringbuffer is how it's stored, not what it *is*.  How it's stored could
change and that is the point.  Since JDOM is built on the idea that
subclassing should be easy and a good idea, I would think that subclassing a
JDOM specific base class makes more sense than subclassing JavaSoft's
StringBuffer. 



More information about the jdom-interest mailing list