xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Cormac Blackwell" <cormac.blackwell AT gmail.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] Iterable Elements
- Date: Mon, 3 Apr 2006 16:49:37 +0100
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.
Cormac Blackwell
-
[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.