users@jaxb.java.net

Re: Customize ObjectFactory

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Wed, 21 Nov 2012 14:00:07 +0100

You might write a set of classes, each of which extends one ObjectFactory.

Or try to <xs:include> all your schemas into one top level schema and
compile that. You'll still get distinct ObjectFactories for each
namespace.

-W

On 21/11/2012, Lulseged Zerfu <lulseged.zerfu_at_ericsson.com> wrote:
> Hi
>
> I have a lot of schemas in my appplication and I get one ObjectFactory for
> each schema.
>
> Number of ObjectFactories are used used to build one document and my code
> it is getting dirty.
>
> Is there any way to customize ObjectFactory?
>
> BR
> Lulseged
>
>
>