[jdom-interest] RFE: Attribute.setValue()

Jason Hunter jhunter at collab.net
Mon Aug 21 23:59:36 PDT 2000


Oliver Imbusch wrote:
> 
>     >> it would be nice if Attribute.setValue() would return 'this',
>     >> like a lot of other setter methods.
> 
>     Jason> I can see a symmetry argument for returning this, but
>     Jason> what's the coding benefit you're thinking of?

I just changed attrib.setValue() to return "this".  I also changed
comment.setText() to do the same.  Now all setter methods across the
board return "this".

-jh-



More information about the jdom-interest mailing list