axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sérgio Gomes" <sgo...@google.com>
Subject Re: Code generation and enumerations
Date Wed, 23 Apr 2008 16:52:50 GMT
Hi Samisa,

Yes, that's exactly what I'm changing; I'm preparing a patch as
Dimuthu suggested.

Cheers,
Sérgio

---
On Wed, Apr 23, 2008 at 5:43 PM, Samisa Abeysinghe <samisa@wso2.com> wrote:
> Sérgio Gomes wrote:
>
> > Hi Dimuthu,
> >
> > I'm developing the patch right now (I'm now able to generate the enum
> > declaration) and I found that I have two options to proceed:
> >
> > 1 - Add specialized getters/setters for enumerations, while keeping
> > the base type as a string. They would be named something like
> > adb_<property>_get_<property>_enum and
> > adb_<property>_set_<property>_enum. I'd have to do the conversion
> > between the C enum struct and the stored string within the function
> > (basically with a big if/else chain). This solution would preserve
> > backwards compatibility and wouldn't require any changes to the java
> > code, just XSL changes.
> >
> >
>
>  Do you mean to say you are changing the style sheets used by the code
> generator.
>
>  Samisa...
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>  For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message