On Fri, Sep 18, 2009 at 12:34 AM, bea <beaotx_at_gmail.com> wrote:
> Hi,
>
> I've a method with a @GET annotation, that produces json and xml formats,
> and returns an object with JAXB annotations. I'd like to know if it's
> possible to post-process the xml generated before it is send to the client,
> I mean, I'd like to use a post-method in order to parser the xml generated.
Are you thinking of processing at XML level (SAX or Stax events)?
Theoretically it should be possible to allow interception at this
level, before said events reach listener/writer that writes serialized
XML.
-+ Tatu +-