eclipse功能如何从实现的xsd模式生成样本xml?

时间:2022-01-14 17:17:20

I'm curious how eclipse implements generating xml from an xsd schema, as described here:

我很好奇eclipse如何实现从xsd模式生成xml,如下所述:

http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.wst.xmleditor.doc.user%2Ftopics%2Ftcrexxsd.html

Is the source code available to view, to try and understand how this function is implemented?

源代码是否可供查看,试图了解如何实现此功能?

1 个解决方案

#1


1  

The wizard for Generate -> XML File is the org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard class. The generator under the hood is the org.eclipse.wst.xml.ui.internal.wizards.NewXMLGenerator class. They are part of the org.eclipse.wst.xml.ui plugin. Just follow the links to see the sources.

Generate - > XML File的向导是org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard类。引擎盖下的生成器是org.eclipse.wst.xml.ui.internal.wizards.NewXMLGenerator类。它们是org.eclipse.wst.xml.ui插件的一部分。只需点击链接即可查看来源。

#1


1  

The wizard for Generate -> XML File is the org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard class. The generator under the hood is the org.eclipse.wst.xml.ui.internal.wizards.NewXMLGenerator class. They are part of the org.eclipse.wst.xml.ui plugin. Just follow the links to see the sources.

Generate - > XML File的向导是org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard类。引擎盖下的生成器是org.eclipse.wst.xml.ui.internal.wizards.NewXMLGenerator类。它们是org.eclipse.wst.xml.ui插件的一部分。只需点击链接即可查看来源。