Generate XML Schema from Java class (or the opposite)

后端 未结 3 1974
我在风中等你
我在风中等你 2021-02-10 03:12

I wanted to generate some XML Schemas for my project. I have some Java Classes, like this one:

package com.fortresswars.entity;

import com.fortresswars.entity.p         


        
3条回答
  •  情话喂你
    2021-02-10 04:05

    There's a tool called schemagen inside the JDK bin directory, that turns java source/class file into an XML schema. See the documentation.

提交回复
热议问题