commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markos Charatzas <x...@forthnet.gr>
Subject [digester] handing attributes
Date Mon, 27 Jun 2005 14:28:05 GMT
Hi there,

Is there a way to have an xml file of,

<type>
	<names>
		<name lang="en">english name</name>
		<name lang="el">greek name</name>
	</names>
</type>

and map it to a bean 

Type
setGreekName(String)
setEnglishName(String)

passing the correct parameter depending on the attribute value?

As far as I can see from the docs this is not supported :/

Thanks,
Markos

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message