The answer to your question is 'NO'. 'Dozer is a Java Bean to Java Bean mapper that recursively copies data from one object to another. Typically, these Java Beans will be of different complex types.
Dozer supports simple property mapping, complex type mapping, bi-directional mapping, implicit-explicit mapping, as well as recursive mapping. This includes mapping collection attributes that also need mapping at the element level. ' But Smooks (see my previous reply and the following link : http://www.smooks.org/documentation/documentation-smooks-1-1-x/user-guide http://www.smooks.org/documentation/documentation-smooks-1-1-x/user-guide ) can do that and also : - Java to Java Transformations - Java Binding - Processing Non-XML Data (CSV, EDI, JSON, Java etc) This is a competitor to Artix Data Service ;) James.Strachan wrote: > > 2008/12/11 James Strachan <[EMAIL PROTECTED]>: >> 2008/12/11 Ramon Buckland <[EMAIL PROTECTED]>: >>>> Maybe we need some kinda endpoint that lets you set arbitrary nested >>>> properties on a bean? e.g. it could take a Map or List of Maps and >>>> make instances of a certain type - then set the properties on the bean >>>> using introspection? I guess its only gonna be useful for taking data >>>> from CSVs; but who knows maybe this could be useable for other >>>> scenarios, like taking arbitrary JSON or something? >>> >>> >>> Would/Could dozer be used for this purpose ? possible .. >>> I have only used dozer in simple situations (like for like beans) but I >>> suspect(only suspect) that dozer could do this .. >>> there are other bean mappers yes(?) >> >> Great point! We could do with Dozer integration! > > I guess Dozer could plug nicely into the Type Conversion mechanism too > http://activemq.apache.org/camel/type-converter.html > > Has anyone ever seen Dozer take, say, a CSV (or List of Maps) and > create/configure beans? > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > > ----- Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://www.nabble.com/Is-there-a-way-to-extend-marshall-method-of-CsvDataFormat-class-tp20955830s22882p20956986.html Sent from the Camel - Users mailing list archive at Nabble.com.
