[jdom-interest] Why not interfaces?

Paul Philion philion at acmerocket.com
Thu Sep 7 10:23:37 PDT 2000


Greetings -

I've just been looking over the JDOM docs and APIs and I noticed that
all the major classes were concrete classes, not interfaces with
supporting abstract implementations.

As most of the parsing work is handled with the Builder classes, which
are pretty much factories, why not use interfaces for a more flexible
design?

Perhaps I missed a whole discussion of this, and someone could kindly
point me to the list archive.

Thanks,

- Paul Philion




More information about the jdom-interest mailing list