users@jersey.java.net

Re: [Jersey] entities encoding issues in the response

From: Tatu Saloranta <cowtowncoder_at_yahoo.com>
Date: Wed, 14 May 2008 18:16:30 -0700 (PDT)

--- Arul Dhesiaseelan <arul_at_fluxcorp.com> wrote:

> Thanks Tatu and Paul for the great suggestions.
>
> I will be trying to implement as per your below
> suggestion. In your code
> excerpt, you are referring to mImpl. Is this an
> instance of custom
> XMLStreamWriter?
>

No, mImpl would be the "real" stream writer, one you
get from XMLOutputFactory implementation
(XMLOutputFactory uses auto-detection to figure out
providers -- alternatively, you can also construct
instance explicitly, Sjsxp and Woodstox have
implementations).

-+ Tatu +-