I don't think this was a mistake. This change allows to chain method calls.
IE:
Link link = abdera.getFactory().newLink()
.setAttributeValue("rel", "alternate").setAttributeValue("href",
"http...");
On Mon, Apr 28, 2008 at 12:25 PM, UCHIDA Hitoshi <[EMAIL PROTECTED]>
wrote:
> Dear abdera developers,
>
> Concerning org.apache.abdera.model.Element,
> though setAttribute(QName qname, String value) and setAttribute(String
> name, String value) in a previous version return nothing,
> those of latest version were changed to return Element instance.
>
> I think the modification was mistake
> and the previous version was correct.
> What do you think ?
>
> --
> Hitoshi Uchida
> <[EMAIL PROTECTED]>
>
>
--
David Calavera
http://www.thinkincode.net