[jdom-interest] (no subject)

Jason Hunter jhunter at acm.org
Thu May 29 22:46:22 PDT 2003


> Getting back to the interfaces, one thing that that confuses me a little bit
> is that the Parent interface's method names do not deal in Children - there
> is no getChild(), it's getContent(). But the Child interface's method names
> do deal with Parents with it's getParent() method. 

It's getContent() as Brad said for legacy reasons, but it does seem kind 
of weird to have the new methods getChildCount() and childIndex(). 
Maybe those need to be getContentCount() and contentIndex()?

-jh-




More information about the jdom-interest mailing list