axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <>
Subject Re: Code generation and enumerations
Date Wed, 23 Apr 2008 16:43:04 GMT
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 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message