users@jaxb.java.net

Re: Writing Attachments

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 27 Mar 2006 11:18:32 -0800

Dan Diephouse wrote:
> Another random question - is there any way to have JAXB generate a
> DataHandler/DataSource instead of a byte[] array?

Yes. If the definition has xmime:expectedContentTypes.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com