users@jersey.java.net

Re: [Jersey] https://jersey.dev.java.net/issues/show_bug.cgi?id=18

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 12 Sep 2008 16:08:18 +0200

Hi,

This is completed for XML and Fast Infoset for both reading and writing.

Potentially if you do not like the automatic derived name then there
may be ways to support a specific holder class. But i am reluctant to
go any further than that because it gets tricker and one really needs
to resort to utilizing JAXB annotated classes.

Paul.

On Sep 11, 2008, at 6:19 PM, Paul Sandoz wrote:

> I have just committed basic support in the trunk.
>
> You can return any type that is a instance of Collection<T> where T
> is a JAXB bean annotated with @XmlRootElement. The root element name
> is derived from the class name of T and is pluralized (assuming the
> name is an English word).
>
> TODO:
>
> - @XmlType
>
> - reading List<T>
>
> - JSON and FastInfoset
>
> Paul.
>
> On Sep 11, 2008, at 11:55 AM, Paul Sandoz wrote:
>
>> On Sep 11, 2008, at 11:52 AM, Juergen.Zimmermann_at_HS-Karlsruhe.de
>> wrote:
>>
>>> Do you have a rough estimation when this bug will be fixed?
>>> I'd really like to kick off my helper list classes.
>>>
>>
>> Hopefully by the end of this week :-) if not then definitely by the
>> middle of the next.
>>
>> Paul.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>