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

philip.nelson at omniresources.com philip.nelson at omniresources.com
Fri Sep 15 10:39:16 PDT 2000


> > 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.

great, let's settle this.

> > That would be big, though, so I'd rather do it now.
> > 
> > +1 on getChildElements(), or worst case getElements()

Here I can agree with getChildElements() because we are still consistent
with the name getChild() which returns a (strongly typed) Element wheras
getChildren() returns a List of Objects and only the docs can tell you what
to expect.



More information about the jdom-interest mailing list