[jdom-interest] JDom and Java5

Michael Kay mike at saxonica.com
Sat Feb 23 13:20:32 PST 2008

> how about
> List<? extends Object> selectNotes
> List<Element> selectElements
> List<Attribute> selectAttributes

Why not just bite the bullet and introduce the superclass Node? It's not
JDOM any more, but if you're trying to get the class hierarchy right then
this is the obvious thing to do.

Michael Kay

More information about the jdom-interest mailing list