开发者

Jaxb generation of value constructor for a single class

I have a collection of XSD's that I am the maven-jaxb2-plugin to genera开发者_开发技巧te the java classes. I have 1 class, that I need a value constructor on, however I do not want value constructors for any of the other generated classes. I have looked at jaxb-value-constructor-plugin but I don't see a way to specify a single class.

Is there a way to have only a single class generate the value constructor that I am missing or is there another plugin I should be looking at?


Maybe you can just do code injection? See the code injector plugin.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜