[jdom-interest] (no subject)
Bradley S. Huffman
hip at csa.cs.okstate.edu
Thu May 29 19:23:57 PDT 2003
Hmmm, when you go to get more ice tea, make sure you hit save, not send :)
Sorry about that, here's what little was left.
> And in Element, getChild() returns an Element, but getParent() return a
> Parent. Seems inconsistent,
The now deprecated getChildren/getChild methods where always a bit confusing
since DOM uses "children" to mean all mixed content, i.e. elements, comments,
text, pi, and so forth, and JDOM had getChildren return a list of only
elements. Consequently users would use getChildren to get a list and then
wonder where all they text nodes or other nodes went. Hence the name change
to getChildElement/getChildElements to empathize that they always return
elements.
Brad
More information about the jdom-interest
mailing list