tags:

views:

102

answers:

1

In this article Jeroen explains an example of using an XML file to remap Java Bean getters and setters to .NET Properties.

What would the XML file look like if I wanted to, say, remap a Java method called "showDialog()" to "ShowDialog()" in .NET? Has anyone worked with the remapping option before? Any idea where to get information on how it works other than inspecting the remapper.cs source code?

Edit #1 - Found something that definitely helps a bit: the map.xml file in the openjdk folder seems to have the same format.

Edit #2 Ouch. 7 views in 16 hours. :-) I have officially reached the fringes of SO knowledge... ;)

A: 

Seems you will have to use MapFileGenerator.java mentioned in the article referred ;-)

Please find more info on BeanInfo in Java Tutorial on https://java.sun.com/docs/books/tutorial/javabeans/introspection/index.html

David Skyba
yeah sorry but that's not helpful. Like I said, I want to remap method names, not only bean properties.So I need to understand the XML schema for the mapping.Good try. Sort of. ;-)
Epaga