users@jaxb.java.net

Re: Help on retaining XML->Java mapping

From: Ashutosh <ashutosh.shahi_at_gmail.com>
Date: Fri, 19 Aug 2005 07:56:10 +0530

Hi Kohsuke,
Based on this XML to Java mapping, I want to populate a Typemapper, which I
later use for a WSDL2Java like utility. So this information is required to
me for creating other artifacts like stubs etc.
Is it not possible to do?

Thanks,
Ashutosh

On 8/19/05, Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_sun.com> wrote:
>
> Ashutosh wrote:
> > Hi All,
> > I am new to JAXB and this is my 1st post to this group.
> > I have a XML schema file and am looking to generate java classes from
> that.
> > But along with this I also want to retain information about the XML ->
> Java
> > mapping that JAXB did, say in some Map.
> > The only way to do XML to Java generation that I could come across was
> > through XJC batch file or the XJC Ant task. But by using them I can't
> get
> > the XML-> Java mapping. So I wanted to know if there is any programmatic
> way
> > to do the same where I can retain the mapping information as well.
>
> How are you going to use that information?
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
>
>


-- 
Thanks and Regards,
Ashutosh