[jdom-interest] depracation - is all you need...

Noam Tamim noamt at yahoo.com
Fri Feb 15 06:18:36 PST 2002


  Steve Beech <JBeech at dmu.ac.uk> wrote: 
root.addAttribute("attName","attValue");
but looking in the archives I can find no mention of this being depracated.
Can anybody tell me where I'm going wrong.


Element.addAttribute(string,string) has been deprecated a while ago. Its replacement
is Element.setAttribute(string,string), which is a convenience-method for
Element.setAttribute(Attribute).

 



_______
Noam.



---------------------------------
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020215/eeb22601/attachment.htm


More information about the jdom-interest mailing list