[jdom-interest] Lists again - Add to XMLFactory ?
mbernhardt at swsgmbh.de
Tue Jun 26 06:10:34 PDT 2001
Ken Rune Helland wrote:
> 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.
Also ok, but there is already a XMLFactory.
Less work. More central. Easier to use.
> >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 '
> >at Element.detach()
> >Any suggestions ?
> >- markus
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 459 bytes
Desc: Card for Markus Bernhardt
Url : http://jdom.org/pipermail/jdom-interest/attachments/20010626/c1ceba53/mbernhardt.vcf
More information about the jdom-interest