abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Calavera" <david.calav...@gmail.com>
Subject Re: API changed
Date Mon, 28 Apr 2008 11:09:47 GMT
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 <uchida.hitoshi@canon.co.jp>
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
> <uchida.hitoshi@canon.co.jp>
>
>


-- 
David Calavera
http://www.thinkincode.net

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message