commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rik Scarborough <rik...@gmail.com>
Subject [betwixt] Additional element on writing collections
Date Tue, 03 Aug 2010 18:11:03 GMT
If I have a bean that contains an array of another bean, when I write out
the XML, there is an additional element name added.


For instance.

public class ObjectTypes {
     private ObjectType[] object
     ....
}

The writer will output

<ObjectTypes>
     <Object>
         <Object>
          .....


I don't seem to see a way to fix this.

~Rik

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message