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