Thanks for your reply Ralf !

Sam 


Ralf Joachim-2 wrote:
> 
> Hi Sam,
> 
> as far as I know this is not possible with Castor. You have to handle
> this yourself.
> 
> Regards
> Ralf
> 
> Sam-1234 schrieb:
>> Hi-
>> I am trying to understand if i can concat the values in mapping so as to
>> produce a result .
>> i am having a class called Phone
>>
>> Class Phone{
>>   String phoneNumber;
>> }
>>
>> My xml which i need to unmarshal looks like below
>>                                   <Phone>
>>                                          <countryCode>1</countryCode> 
>>                                      <AreaCode>312</AreaCode>
>>                                      <DialNumber>5551212</DialNumber>
>>                              </Phone>
>>
>> is there any way in mapping so I can concat the values of
>> countrycode,areacode,dialnumber to 'phoneNumber' attribute?
>>
>> Thanks,
>> Sam
>>   
> -- 
> 
> Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
> Ralf Joachim
> Raiffeisenstraße 11
> 72127 Kusterdingen
> Germany
> 
> Tel.   +49 7071 3690 52
> Mobil: +49 173 9630135
> Fax    +49 7071 3690 98
> 
> Internet: www.syscon.eu
> E-Mail: [email protected]
> 
> Sitz der Gesellschaft: D-72127 Kusterdingen
> Registereintrag: Amtsgericht Stuttgart, HRB 382295
> Geschäftsleitung: Jens Joachim, Ralf Joachim
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/concat-values-at-runtime-tp27554663p27566511.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to