[jdom-interest] Adapter classes

John Pearcey johnp at mmconsultants.demon.co.uk
Mon Jul 24 05:45:29 PDT 2000


I'm a bit perplexed about the nature of the adapter classes. They seem to
have a lot of reflection code in them which is unnecessary. As far as I can
see, each parser needs at least one adapter class in order that the JDOM can
use it. There can be more than one adapter class - I've written one for the
apache parser since I need to initialise the parser differently. Each
adapter class will never instantiate anything other than the parser given by
the hard coded parser name - so why all the reflection code ??






More information about the jdom-interest mailing list