jdemic wrote:
> I'm attempting to use JAXB to bind objects in an existing framework. I'd
> prefer not to markup the framework's source with @XmlRootElement annotations
> to get this work. Is there any way to tell JAXBContext to do a default
> binding w/o setting @XmlRootElement?
To some extent. You can can use the version of the unmarshal method that
takes the expected type. On marshalling, you can wrap your object into
JAXBElement.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com