commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dakshesh Satyajit <datshesh...@yahoo.com>
Subject Re: Flattening Maps with Betwixt
Date Thu, 14 Dec 2006 20:13:04 GMT
Sorry, forgot to mention that I'm using Betwixt.

Dakshesh Satyajit <datsheshsat@yahoo.com> wrote: I have a Map as a property of an object.
 When serialized, it looks like this.

<machine>
    <internals>
        <entry>
            <class>java.util.HashMap$Entry</class>
            <key>start</key>
            <value>6000</value>
        </entry>
        <entry>
            <class>java.util.HashMap$Entry</class>
            <key>end</key>
            <value>8000</value>        
         </entry>
    </internals>
</machine>

I would like the output to look like this.

<machine>
    <start>6000</start>
    <end>8000<end>
</machine>


Any help or suggestions would be most appreciated.

-Dakshesh
   




 
---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message