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
>
>
>