IKVM的Remap XML文件的格式是什么? [英] What is the format of the Remap XML file for IKVM?

查看:111
本文介绍了IKVM的Remap XML文件的格式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

本文 Jeroen解释了使用XML文件将Java Bean的getter和setter重新映射到.NET属性的示例.

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

如果我想将.c中名为showDialog()的Java方法重新映射为.c中的ShowDialog(),XML文件将是什么样?以前有人使用过重新映射选项吗?除了检查 remapper.cs 源代码?

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?

编辑#1 -找到了一些绝对有帮助的东西:

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

编辑#2 . 16小时内有7次观看. :-)我已经正式接触到SO知识的边缘...;)

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

推荐答案

似乎您必须使用 MapFileGenerator .java 提到的文章;-)

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

可以在BeanInfo的此处中找到更多信息. >.

More info can be found on BeanInfo here.

这篇关于IKVM的Remap XML文件的格式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆