users@jaxb.java.net

Re: Reducing number of Generated classes

From: Ryan Shoemaker - JavaSoft East <Ryan.Shoemaker_at_Sun.COM>
Date: Tue, 21 Oct 2003 10:35:58 -0400

Jochen Wiedmann wrote:

> Ryan Shoemaker - JavaSoft East wrote:
>
>> Kohsuke Kawaguchi wrote:
>>
>>>> The schema I am using (the IFX v 1.4.0 schema) always declares
>>>> everything as
>>>> a XSD type (Simple or Complex) and then declares elements to be of that
>>>> type. This results in both a generated 'Type' and 'Element' interfaces
>>>> (along with the \impl classes as well). Is there a binding option
>>>> for XJC
>>>> to reduce this?
>>>
>>>
>>>
>>>
>>> No, not really. Sorry.
>>>
>>
>> There are other schemas that have similar issues - UDDI and UBL come
>> to mind...
>
>
> Out of curiosity: Would that still match the JAXB specification? I would
> like to introduce such a switch to JaxMe, because I do not like that many
> classes myself, but did not, for reasons of compatibility to the RI.
>

That's not really my question to answer - I'll get one of the spec guys
to chime in...

Thanks,

--Ryan



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