[jdom-interest] Last call: getChild/getChildren versus getChi ldElement/getChildElements

Elliotte Rusty Harold elharo at metalab.unc.edu
Fri Feb 6 11:51:31 PST 2004


>Oh good, can getParent also be renamed to getContainer() so it is lexically
>consistent and also so I can extend Element and Implement MutableTreeNode
>at the same time (Swing programming would be so much easier)..
>

Parent is the term used in XML. I don't think the word container is 
wrong, but it's very strange. Parent fits much more nicely here.
-- 

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA



More information about the jdom-interest mailing list