users@jaxb.java.net

Re: Java to XML mapping: existing Java classes to existing XSDs ?

From: Dmitri Colebatch <dim_at_colebatch.com>
Date: Fri, 16 Nov 2007 20:26:24 +1100

No - you can add annotations to existing classes to map them to the
schema structure you want.

cheers,
dim

On 11/16/07, Qingtian Wang <qingtian.wang_at_gmail.com> wrote:
> Hi,
>
> My understanding of JAXB2's Java to XML mapping is that one can
> generated -new- XSDs by annotating existing Java classes and running
> the schemagen. That is, one can NOT map existing Java classes to
> -existing- XSDs using JAXB.
>
> Is that correct?
>
> Thanks,
> Qingtian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>