users@jaxb.java.net

RE: how to create objects instead of primitives

From: Shahar Valdman <Shahar.Valdman_at_modelity.com>
Date: Tue, 15 Jul 2008 10:20:47 +0200

Hi,
Thanks for the rapid reply, but I have searched through the customization guide and could not find such an option.
I noticed choice attributes lead to similar results, but my schema does not have choices for these cases.

-----Original Message-----
From: Felipe Gaúcho [mailto:fgaucho_at_gmail.com]
Sent: Tuesday, July 15, 2008 9:17 AM
To: users_at_jaxb.dev.java.net
Subject: Re: how to create objects instead of primitives

use customizations:
http://java.sun.com/webservices/docs/1.5/tutorial/doc/JAXBUsing4.html

On Tue, Jul 15, 2008 at 10:12 AM, Shahar Valdman
<Shahar.Valdman_at_modelity.com> wrote:
> Hi everyone,
>
>
>
> I am having an issue with instructing JAXB to generate java classes without
> using primitives (I would like jaxb not to create double, but Double etc). I
> noticed it's possible to set parse and print methods for those primitives,
> but it leads to undesirable results, involving adapters..
>
> Is that somehow possible to inform JAXB not to use primitives?
>
>
>
> Thanks,
>
> Shahar.valdman_at_modelity.com
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net