Which actually is correct. Problem is that this procedure cannot be
applied to top-level (read class-level) classes.

Regards
Werner

Ralf Joachim wrote:
> Hi Erik,
> 
> you have to create your own FieldHandlers to use your builders.
> 
> Regards
> Ralf
> 
> Erik Lindgren schrieb:
>> Hi,
>>
>> Is it possible to create castor mappings for bean objects that are using
>> inner static builders rather than setter methods in order to support
>> marshalling and unmarshalling? 
>>
>> The construct we're using to create objects are the following
>>
>> Item item = Item.builder().itemNo("123").itemDesc("Item A").build();
>>
>> Regards
>> Erik
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>   

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

    http://xircles.codehaus.org/manage_email


Reply via email to