[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: MC + JAXB (JBossXB Builder)
adrian@jboss.org
do-not-reply at jboss.com
Mon Jan 7 14:24:40 EST 2008
"alesj" wrote :
| "adrian at 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/java/org/jboss/test/xb/builder/object/element/javatypeadapter/support/
| | 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#4117686
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117686
More information about the jboss-dev-forums
mailing list