users@jaxb.java.net

Different packages for jaxb elements.

From: Douglas Jackson <douglasscottjackson_at_yahoo.com>
Date: Tue, 04 Mar 2003 14:04:07 -0800

If I have a data model that spans more than
one package is there a way to get the xml to
unmarshal into multiple package spaces? For
now all the classes go into 1 package with a
JAXBContext for that package. What if coneptually
I wanted to split the classes across a package
structure?
For instance some common xml elements may be used
by more than one parent. Do all of them have to
go together in one large package?

Can something like this be done with XPath?
Or do you use the root class i.e "com" and namespaces
to create classes in multiple packages?
-Doug.


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/