You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Jason Hunter <jh...@acm.org> on 2004/02/18 23:43:50 UTC

Re: [jdom-interest] [Fwd: Re: [Fwd: More JDOM changes]]

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 <ni...@chalko.com>
> Reply-To:     Gump code and data <gu...@jakarta.apache.org>
> To:     Gump code and data <gu...@jakarta.apache.org>
> References:     <40...@apache.org> 
> <97...@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 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org