org.apache.batik.dom.svg.SVGDOMImplementation去哪里了? [英] Where has org.apache.batik.dom.svg.SVGDOMImplementation gone?

查看:868
本文介绍了org.apache.batik.dom.svg.SVGDOMImplementation去哪里了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

蜡染文档中,它显示了如何获得来自类 org.apache的DOM实现实例.batik.dom.svg.SVGDOMImplementation



但是,从同一个网站下载Batik 1.8之后,我无法找到这个课程。



我下载了1.7版本,并发现它在batik-svg-dom.jar中,但它不存在于1.8内的同一个jar(或者我可以在任何这个包已经重命名/重构/替换了吗?



如果是,如何在batik 1.8中获得DOM实现的实例?

解决方案

我找到了嵌入在maillist中的答案线程张贴在@ Ajay的答案。



似乎为了解决这个bug ,他们已将 SVGDOMImplementation 移动到包 org.apache.batik.anim.dom ,它居住在jar文件batik-anim-1.8.jar中。



在撰写本文时,蜡染网站尚未更新,由于某些原因,发行说明中也没有突出显示此更改。 >

In the documentation for batik, it shows how to get an instance of the DOM implementation from the class org.apache.batik.dom.svg.SVGDOMImplementation.

However, after downloading Batik 1.8 from the same site, I cannot find this class anywhere.

I downloaded the 1.7 version and found it in batik-svg-dom.jar but it does not exist in the same jar within 1.8 (or as far as I can tell in any of the jars in that package).

Has this class been renamed / refactored / replaced? If so how do you get an instance of the DOM implementation in batik 1.8?

解决方案

I found the answer, embedded in the maillist thread posted in @Ajay's answer.

It seems that in order to solve this bug, they have moved SVGDOMImplementation into package org.apache.batik.anim.dom, which lives in the jar file batik-anim-1.8.jar.

As at the time of writing, the batik web site had not yet been updated, and for some reason this change was also not highlighted in the release notes.

这篇关于org.apache.batik.dom.svg.SVGDOMImplementation去哪里了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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