users@jaxb.java.net

RE: Re: Re: Global bindings

From: Lulseged Zerfu <lulseged.zerfu_at_ericsson.com>
Date: Fri, 3 Oct 2008 09:01:45 +0200

Thank you.
 

-----Original Message-----
From: Wolfgang Laun [mailto:wolfgang.laun_at_gmail.com]
Sent: den 3 oktober 2008 08:55
To: users_at_jaxb.dev.java.net
Subject: Re: Re: Global bindings

Let JAXB generate different packages for each schema. This will nicely
separate all of the generated classes. You can do this by adding the
destination package to each schema, via
xs:annotation/xs:appinfo/jaxb:schemaBindings/jaxbPackage name="x.y", or
on an separate customization file.
-W

On Fri, Oct 3, 2008 at 7:50 AM, Lulseged Zerfu
<lulseged.zerfu_at_ericsson.com> wrote:
> Thank you.
>
> I will not ask you that question but let me put another question:
>
> I have more than 20 schemas in my application. ObjectFactory class is

> generated for each schema and I don't want each of the schemas to have

> the same factory name. Is there any way to customize an ObjectFactory
> class?
>
> Lulseged
>
> -----Original Message-----
> From: Wolfgang Laun [mailto:wolfgang.laun_at_gmail.com]
> Sent: den 2 oktober 2008 16:15
> To: users_at_jaxb.dev.java.net
> Subject: Re: Global bindings
>
> There are a few more than the ones you quoted. You might look at the
> JAXB 2.1 specification, to be found at:
>
> https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_JCP-Site/en_
> US
> /-/USD/ViewProductDetail-Start?ProductRef=jaxb-2.1-mrel-eval-oth-JSpec
> @C
> DS-CDS_JCP
>
> Don't ask me why this is in this highly obscure place.
> -W
>
>
> On Thu, Oct 2, 2008 at 2:07 PM, Lulseged Zerfu
> <lulseged.zerfu_at_ericsson.com> wrote:
>> Hi
>>
>> I am looking for all options for global bindings. The following are
>> those that I could find in one of the samples in 2.1.8. Or are there
>> the only options that are supported? where do I find documentation
>> for
> these options?
>>
>> <jxb:globalBindings
>> fixedAttributeAsConstantProperty="false"
>> collectionType="java.util.Vector"
>> typesafeEnumBase="xs:NCName"
>> choiceContentProperty="false"
>> typesafeEnumMemberName="generateError"
>> enableFailFastCheck="false"
>> generateIsSetMethod="true"
>> underscoreBinding="asCharInWord"> </jxb:globalBindings>
>>
>>
>>
>>
>>
>> Lulseged
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net