[jdom-interest] getMixedContent -> getContent

Brett McLaughlin brett at newInstance.com
Wed Jun 27 09:11:13 PDT 2001


I don't like getContents()... I think getContent() is OK, personally. I also
think getChildren() isn't too bad... I guess I'm just used to it though.

-Brett

----- Original Message -----
From: "Alex Rosen" <arosen at silverstream.com>
To: "'JDOM Interest'" <jdom-interest at jdom.org>
Sent: Wednesday, June 27, 2001 10:12 AM
Subject: RE: [jdom-interest] getMixedContent -> getContent


> 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()?
>
> Alex
>
> > -----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
>
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list