Hi,

you *might*be able to achieve this by implementing your own FieldHandler, but even in this case this might get fairly complicated.

Let me know whether you'd like to look into this.

Cheers
Werner

On 11.02.2010 22:00, Sam-1234 wrote:

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

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

   http://xircles.codehaus.org/manage_email


Reply via email to