Michael Mendonca wrote:
> Is it possible to use a JAXB User defined annotated class with existing schema
> derived classes? The ObjectFactory class is created only when compiling the
> schemas with the binding compiler. Is there a way to do this without using the
> binding compiler?
Yes. Use the version of JAXBContext.newInstance that takes Class[], and
pass in all "ObjectFactory.class"s in various packages plus whatever
classes you added.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com