[jdom-interest] Lists again - Add to XMLFactory ?
Ken Rune Helland
kenh at csc.no
Tue Jun 26 03:38:59 PDT 2001
At 10:02 AM 6/26/2001 +0100, Markus Bernhardt wrote:
>As said earlier, I have to subclass PartialList (or FilterList).
>Now I saw that means I have to copy quite much code,
>because 'new PartialList' is hardcoded into the source.
I suggjest moving all List creations to protected metods that
can be overridden i subclasses.
>Is there a chance to add 'list' to the XMLFactory,
>to have a static global default factory, and to
>introduce it to the jdom classes.
If you subclass the JDOM classes you can override any
internal Object creations.
Maybe there are some internal object creations to
move to protected metods as well?
>This could also fix the ugly 'new Element '
>Any suggestions ?
More information about the jdom-interest