users@jaxb.java.net

Re: Help on retaining XML->Java mapping

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 18 Aug 2005 12:11:43 -0700

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