[jdom-interest] Why don't Comment, Element, Text, etc extend common jdom object?
Gordon Tyler
gordon.tyler at sitraka.com
Tue May 28 08:52:13 PDT 2002
----- Original Message -----
From: "Elliotte Rusty Harold" <elharo at metalab.unc.edu>
> >Can anyone think of a way for either detach() or Iterator::remove() to be
> >legal?
>
> DOM tree walkers and node iterators have no problem with this use
> pattern. However, they don't use the collections API. Off the top of
> my head, I can't see how to make this work without ditching the
> Collections API and rolling our own; but then I don't really know a
> lot about the Collectios API so maybe it's possible.
I always thought the whole point of the JDOM API was that it used standard
Java APIs like Collections.
Ciao,
Gordon
More information about the jdom-interest
mailing list