"alesj" wrote :
| "adrian(a)jboss.org" wrote :
| | And the way I did MapMetaData in the jbossxb is wrong.
| | In the JBossXB tests I implemented it as a Set
| | but this is obviously wrong, since it is a Map not a Set.
| |
| | The current way to markup a Map is to use XmlAdapter
| |
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/common/jbossxb/trunk/src/test/...
| | But it would be better if we had native support like we do for collections.
| |
| Yup, I noticed that.
| I can have a look at this.
|
Actually that's no good for the way we do maps. It only supports
collection type map definitions, e.g.
| <map key="1">2</map>
| <map key="3">4</map>
|
I've been speaking with Alexey and we'll probably add support for
some kind of @JBossXMLMap annotation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117686#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...