[XOM-interest] Let Elements implement java.lang.Iterable
Dave Pawson
dave.pawson at gmail.com
Tue Mar 11 04:16:35 EDT 2008
On 11/03/2008, Elliotte Harold <elharo at metalab.unc.edu> wrote:
> You know, I was about to say "Not going to happen as long as Java allows
> type-erasure", but now that I think about it for 30 seconds, does that
> matter? I could expose Iterable<Node> without actually compromising
> XOM's type-safety. What do people think?
It does align well with the more abstract groupings that elements
seem to match Elliotte?
Try it and see if it causes troubles? Mark it as experimental
if you're uncomfortable with it.
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
More information about the XOM-interest
mailing list