users@jaxb.java.net

Re: equivalent of XMLBeans XMLObject interface

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Thu, 27 Oct 2005 15:17:37 -0700

Mark Hansen wrote:
> Thanks. I understand how those Marshaller methods work - it is a nice
> API.
>
> But, I'm still looking for a way to pass around an Xml Object - and by
> this I mean anything that could hold an XML infoset - could be a DOM,
> JAXBElement, a JAXB "value class", a Stream, etc.
>
> Maybe I could use javax.xml.transform.Source ??

Yes. And don't forget JAXBSource, which is a subtype of Source.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com