是否有任何工具可以验证@XmlPath批注?

编程入门 行业动态 更新时间:2024-10-25 08:27:20
本文介绍了是否有任何工具可以验证@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:

  • bdoughan.blogspot/2010/07/xpath-based-mapping.html
  • bdoughan.blogspot/2010/09/xpath-based-mapping-geocode-example.html
  • bdoughan.blogspot/2011/03/map-to-element-based-on-attribute-value.html

更新

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

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

  • www.eclipse/downloads/packages/eclipse-ide-java-ee-developers/junom6

更多推荐

是否有任何工具可以验证@XmlPath批注?

本文发布于:2023-10-28 17:55:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1537360.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:有任何   工具   XmlPath

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!