[jdom-interest] getMixedContent -> getContent

Alex Rosen arosen at silverstream.com
Wed Jun 27 08:12:51 PDT 2001

Hmm. I did raise this issue, but my suggestion was to have getChildElements()
and getAllChildren(), which makes it very clear which one does what. With your
proposal, it's not obvious from the name what the difference is between
getContent() and getChildren(). I think too easy to confuse. How about
getContent() and getChildElements()? Or, I wonder if getContents() or
getAllContents() would be more appropriate than getContent()?


> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Wednesday, June 27, 2001 3:37 AM
> To: JDOM Interest
> Subject: [jdom-interest] getMixedContent -> getContent
> I think we should change getMixedContent() to getContent().  It's
> technically more accurate, it's shorter to type, and it matches nicely
> with the addContent() and removeContent() methods.  Note Alex Rosen
> raised the issue originally.
> Unless there are objections I think I can squeeze this into the final
> beta7.
> -jh-
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com

More information about the jdom-interest mailing list