You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by hohteri <ha...@tecnomen.com> on 2007/12/18 06:59:35 UTC

Defining the element name of a Collection item, using Aegis

Hello

I would like to know if it is possible to map the name of an element when
created from Collection.

public interface Person {
List<String> getNames();
}

Maps to:

<person>
  <names>
    <string>First</string>
    <string>Middle</string>
    <string>Sur</string>
  </names>
</person>

While I would like to see it being:

<person>
  <names>
    <name>First</name>
    <name>Middle</name>
    <name>Sur</name>
  </names>
</person>

Br,

Harri


-- 
View this message in context: http://www.nabble.com/Defining-the-element-name-of-a-Collection-item%2C-using-Aegis-tp14384483p14384483.html
Sent from the cxf-user mailing list archive at Nabble.com.