Is it possible to control XML representation of Map or Map.Entry using Aegis
bindings?

For example can I change names of entry, key and value elements or
minOccurs/nillable settings for them declaratively?

For example if Map.Entry would be my own custom class I could create
Map.Entry.aegis.xml binding file shown below to java.util package to make both
key and value mandatory and to represent key property as a name element in XML.

<mappings>
  <mapping>
     <property name="key" mappedName="name" minOccurs="1" nillable="false" />
     <property name="value" minOccurs="1" nillable="false" />
  </mapping>
</mappings>

Above Aegis binding example does not work but can I do same thing some other 
way?

-- 
Jari Kujansuu



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to