[jdom-interest] [Fwd: Re: [Fwd: More JDOM changes]]
Jason Hunter
jhunter at acm.org
Wed Feb 18 14:43:50 PST 2004
I thought we'd resolved this earlier. All outputter format tweak
options moved into the Format class.
Format f = Format.getRawFormat();
f.setEncoding("whatever");
new XMLOutputter(f);
The XMLOutputter setters were deprecated in beta10. We're now past
beta10 and preparing for 1.0 so we've removed all deprecated methods in
CVS to prepare for the official 1.0 release. We always deprecate for
one beta cycle. If you rely on HEAD, you have to stop using deprecated
methods right after the beta release because that's when we drop them.
If you rely on beta10, they're still there in deprecated fashion.
-jh-
Antoine Lévy-Lambert wrote:
> Hi velocitiers,
>
> unfortunately, the moetho XmlOutputter#setEncoding is *gone*. It was a
> deprecation in JDOMbeta10rc1, but now it is gone for *good*
> unless the Jdom team revert this change.
>
> Antoine
>
> -------- Original Message --------
> Subject: Re: [Fwd: More JDOM changes]
> Date: Wed, 18 Feb 2004 11:01:54 -0800
> From: Nick Chalko <nick at chalko.com>
> Reply-To: Gump code and data <gump at jakarta.apache.org>
> To: Gump code and data <gump at jakarta.apache.org>
> References: <40335D41.40703 at apache.org>
> <9706DDEE-6225-11D8-A918-000A95A01192 at 4quarters.com>
>
>
>
> Geir Magnusson Jr wrote:
>
>> It's deprecated, so there's no immediate cause for alarm.
>>
>> We'll just have to change. We heart JDOM.
>>
>> geir
>>
> Is see
> <endnote>
> [javac]
> /usr/serverlocal/gump/jakarta-slide/src/stores/org/apache/slide/store/txfile/XMLResourceDescriptor.java:281:
> cannot resolve symbol
> [javac] symbol : method setEncoding (java.lang.String)
> [javac] location: class org.jdom.output.XMLOutputter
> [javac] aOutputter.setEncoding(characterEncoding);
>
> Not a deprecation.
>
>
>
>
>
>
> _______________________________________________
> 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