So you would use reflection or something like it to infer the name?
Seems like you could get this 'actual element name' information from
the schematypesystem apis without too much hassle.
-jacobd

On Wed, Jan 20, 2010 at 10:29 AM, Jerry Wang <skidooj...@gmail.com> wrote:
> just want to get original element names from generated classes, so those
> names can be passed onto other components.
>
> On Wed, Jan 20, 2010 at 12:50 PM, Gillen, Paul <paul.gil...@nscorp.com>
> wrote:
>>
>> Pardon the impertinence, but why?
>>
>>
>>
>> ________________________________
>>
>> Paul
>>
>>
>>
>>
>>
>> ________________________________
>>
>> From: Jerry Wang [mailto:skidooj...@gmail.com]
>> Sent: Wednesday, January 20, 2010 10:26 AM
>> To: user@xmlbeans.apache.org
>> Subject: question on code generation with regard to non-alphabetic
>> character in xml element name
>>
>>
>>
>> I am using xmlbean to generate code from wsdl, the issue I am facing is
>> that names of some xml elements have special character like "_"(for example
>> <first_name>).
>> and the getter generated is getFirstName().
>> can I somehow force the method generated to have exact xml tag name like
>> getFirst_Name()?
>> I really do not want to do mapping,just too much over head.
>> Thanks
>> Jerry
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: user-h...@xmlbeans.apache.org

Reply via email to