[jdom-interest] Element.addContent(CDATA cdata)

Xuemin Guan xuemin at appresso.com
Thu Jul 18 20:11:24 PDT 2002

The JDOM 0.9 has deprecated the addContent(CDATA cdata) method of
Element. But the online Java doc does not reflect this. I looked into
the source code, and found a comment said addContent(Text text) method 
is the reason to deprecate it.

I wonder how I should do if I have have CDATA object and want to add it 
to an Element.


Xuemin Guan
Java & XML Developer
Appresso SpA (www.appresso.com)
Tel:  +81-3-4412-7790 (Direct)
       +81-3-4412-7700 (Representative)
Email: xuemin at appresso.com

More information about the jdom-interest mailing list