xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Christian Vest Hansen" <karmazilla AT gmail.com>
- To: "Elliotte Harold" <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Iterable Elements
- Date: Mon, 3 Apr 2006 20:24:30 +0200
Is there anything particular you're waiting for, before you begin to
take advantage of Java 5?
On 4/3/06, Elliotte Harold <elharo AT metalab.unc.edu> wrote:
> Cormac Blackwell wrote:
> > Hi,
> > I was wondering if it would be possible to make the Elements class
> implement
> > Iterable<Element>. I saw in the archives that you don't want to make
> > Elements implement List as it would break backward compatibility (and
> > wouldn't bring that much benefit). I think that implementing Iterable
> would
> > be very simple and shouldn't cause any compatiblity problems but would
> make
> > Java 5 code which iterates over Elements a lot nicer as the for-each
> syntax
> > could be used.
> >
>
> I don't intend to introduce any dependencies on Java 5 this year.
>
> --
> Elliotte Rusty Harold elharo AT metalab.unc.edu
> XML in a Nutshell 3rd Edition Just Published!
> http://www.cafeconleche.org/books/xian3/
> http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
>
-
[XOM-interest] Iterable Elements,
Cormac Blackwell, 04/03/2006
- Re: [XOM-interest] Iterable Elements, Nils Kilden-Pedersen, 04/03/2006
-
Re: [XOM-interest] Iterable Elements,
Elliotte Harold, 04/03/2006
-
Re: [XOM-interest] Iterable Elements,
Christian Vest Hansen, 04/03/2006
- Re: [XOM-interest] Iterable Elements, Elliotte Harold, 04/03/2006
-
Re: [XOM-interest] Iterable Elements,
Christian Vest Hansen, 04/03/2006
Archive powered by MHonArc 2.6.24.