ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wolf-Dieter Mische" <Mis...@gmx.at>
Subject Re: Simple java.util.Map unmarshalling
Date Mon, 28 Apr 2008 17:11:53 GMT
ohh I'm sorry... I'm involved in too many mailinglist.

greetz


-------- Original-Nachricht --------
> Datum: Mon, 28 Apr 2008 05:34:47 -0600
> Von: "Nathan Maves" <nathan.maves@gmail.com>
> An: user-java@ibatis.apache.org
> Betreff: Re: Simple java.util.Map unmarshalling

> Um...
> What part of the question has to do with ibatis?
> 
> if you are looking for a simple way to convert xml to java objects then
> take
> a look at xstream.
> 
> Nathan
> 
> On Mon, Apr 28, 2008 at 4:16 AM, Wolf-Dieter Mische <Mische@gmx.at> wrote:
> 
> > Hi,
> >
> > I want to unmarshall a java.util.Map therefore I tried to simplify this
> > example http://jibx.sourceforge.net/tutorial/binding-custom.html
> >
> > But it doesn't work. In my case I have following xml data:
> >
> > <map size="4">
> >  <entry key="38193">
> >    <value>a</value>
> >  </entry>
> >  <entry key="39122">
> >    <value>a</value>
> >  </entry>
> >  <entry key="83132">
> >    <value>a</value>
> >  </entry>
> >  <entry key="12958">
> >    <value>a</value>
> >  </entry>
> > </map>
> >
> > But I don't know how the binding.xml have to look. Can anybody help me?
> >
> >
> > greetz
> > Wolle
> > --
> > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> >

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx

Mime
View raw message