users@jaxb.java.net

Re: JAXB 1.0.1: DataWriter.setIndentstep() deprecated

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 05 Jun 2003 07:16:45 -0700

Christoph Brunner <news_chbr0001_at_YAHOO.DE> wrote:
> Hello,
> i switched from JAXB 1.0 to 1.0.1.
> On compiling i get the following warning:
> Warning(119,14): method setIndentStep(int) in class com.sun.xml.bind.marshaller.DataWriter has been deprecated
>
> The DataWriter is not in the API Doku, so which Method should i use instead?

Firstly, you probably don't want to use
com.sun.xml.bind.marshaller.DataWriter, since it's for out internal use.
You should rather download it from David Megginson's website and copy it
into your package so that you can exercise the total control over it.

regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com