[jdom-interest] depracation - is all you need...
Jason Hunter
jhunter at acm.org
Fri Feb 15 11:30:02 PST 2002
It's now named setAttribute(). The compiler will tell you this if you
compile with "-deprecation for details". It's also in the Javadocs for
the method. It's also in the CHANGES.txt file.
-jh-
Steve Beech wrote:
>
> Dear All,
>
> I'm new to JDOM and have been using a Y2000 book to learn.
> However, when I come to test my code I keep getting:
>
> Note: C:\jakarta-tomcat-3.2.3\webapps\angelUM\WEBINF\Classes\JDOMTest.java
> uses or overrides a deprecated API.
> Note: Recompile with -deprecation for details.
> Finished JDOMTest.
>
> This only occurs when I use the method:
>
> 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.
>
> Thanks in advance,
>
> Steve
>
> ----------------------------------------------------------------------------
> -------------------------
> Steve Beech Tel: 0116
> 207 8162
> Software Developer e-mail:
> jbeech at dmu.ac.uk
> Room 0.36 Portland Building e-mail: steve at monkey-media.co.uk
> De Montfort University
> The Gateway, Leicester LE1 9BH
> ----------------------------------------------------------------------------
> ------------------------
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list