是否有任何工具可以验证@XmlPath批注? [英] Is there any tool to validate @XmlPath annotations?

查看:61
本文介绍了是否有任何工具可以验证@XmlPath批注?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何工具可以在编译时从Eclipse或IntelliJIdea Java框架或其他工具中验证MOXy JAXB在特定xml文件中使用的@XmlPath批注?

Is there any tool to validate @XmlPath annotations used from MOXy JAXB at a specific xml file at compile time from Eclipse or IntelliJIdea java framework or something else?

推荐答案

尚无相应的IDE工具.您可以使用 EclipseLink MOXy JAXBContext生成XML模式,然后使用它来进行验证XML文档.

There is no corresponding IDE tooling yet. You could use the EclipseLink MOXy JAXBContext to generate an XML schema and then use it to validate the XML document.

有关基于XPath的@XmlPath映射的更多信息,请参见:

For more information of XPath based mapping an @XmlPath see:

更新

Dali 小组正在即将发布的Eclipse Juno版本.您今天可以尝试一下:

The Dali team is adding this support in the upcoming Juno release of Eclipse. You can try this out today:

这篇关于是否有任何工具可以验证@XmlPath批注?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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