[jdom-interest] Factories for builders.
Ken Rune Helland
kenh at csc.no
Fri Mar 9 09:13:31 PST 2001
On monday I will rewrite SaxBuilder to
accept a factory to enable building of JDom
trees with subclasses of the JDOM classes.
I will of course post the modified SaxBuilder
to the project for evaluation for inclusion
into the main code.
My current plan is to create an interface with
methods matching the public constructors of the
jdom classes and supply SaxBuilder with a default
implementation that serves the original JDOM
Does anyone have any ideas and suggestions for
a better approach?
Especially am I wondering if the Factory should be
a class or interface, is there any pros and cons?
More information about the jdom-interest