Is there any plan to have a generified version of dom4j along with the current version?
I'm almost exclusively using J2SE 5.0 now, and I think it would be a lot nicer if
List Element.elements()
is defined instead as:
List<Element> Element.elements()
and so on.
At a first glance, this seems entirely possible with a tool like retroweaver.
The dom4j project can maintain the core interfaces in the generified form, and then you can use retroweaver on them to get JDK 1.2 compatible interface definitions.
The implementaion classes should be then compiled with -source/-target 1.2 to avoid requiring the retroweaver runtime.
In this way, the generified version and the classic version can be binary compatible.
Any thoughts?
-- Kohsuke Kawaguchi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user