[jdom-interest] getChildren() vs getElements()

bob bob at accurev.com
Thu Sep 14 18:21:21 PDT 2000


Likweise, I prefer getChildElements() over getChildren()
[since Attributes theoretically are children] and getElements(),
since getElements() doesn't tell you how deep it goes.

So, if my vote counts, +1 getChildElements().

	-bob

On Fri, 15 Sep 2000, Simon Harris wrote:

> +1 getChildElements()
> 
> ----- Original Message -----
> From: "Brett McLaughlin" <brett.mclaughlin at lutris.com>
> Cc: <jdom-interest at jdom.org>
> Sent: Friday, September 15, 2000 8:37 AM
> Subject: Re: [jdom-interest] getChildren() vs getElements()
> 
> 
> >
> >
> > Jason Hunter wrote:
> > >
> > > > Wasn't there a discussion a few months ago about renaming
> > > > getChildren() to getElements()?  This Solomon-like solution was
> > > > provided by somebody smart, I think James.
> > > >
> > > > Was this just forgotten, or was there a reason to keep getChildren
> > > > that I missed?
> > >
> > > We couldn't come to agreement, so we postponed until after beta5.
> >
> > I'd rather get it in now... what do you think? That way, no method names
> > change in beta 5+, which we have been telling people - small changes.
> > That would be big, though, so I'd rather do it now.
> >
> > +1 on getChildElements(), or worst case getElements()
> >
> > -Brett
> >
> > >
> > > -jh-
> > > _______________________________________________
> > > To control your jdom-interest membership:
> > >
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
> t.com
> >
> > --
> > Brett McLaughlin, Enhydra Strategist
> > Lutris Technologies, Inc.
> > 1200 Pacific Avenue, Suite 300
> > Santa Cruz, CA 95060 USA
> > http://www.lutris.com
> > http://www.enhydra.org
> > _______________________________________________
> > To control your jdom-interest membership:
> >
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
> t.com
> >
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> 




More information about the jdom-interest mailing list