This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes How can I map beans with static builder classes in CASTOR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How can I map beans with static builder classes in CASTOR" Watch "How can I map beans with static builder classes in CASTOR" New topic
Author

How can I map beans with static builder classes in CASTOR

Sven Anderson
Ranch Hand

Joined: Apr 14, 2004
Posts: 58
Hi,

I've started using CASTOR to map xml to objects and vice versa. Now I've got the following question.
Is it possible to create mappings for beans that are using a static Builders (see example below)? I briefly looked into using custom field handlers but I'm not sure this is the right way to do it.

Thanks for you help

S



 
wood burning stoves
 
subject: How can I map beans with static builder classes in CASTOR