An image toolkit plug-in adds the support of one or more graphics file formats (e.g. TIFF, SVG, etc) to XXE.
Like all plug-ins, an image toolkit plug-in is not declared anywhere. It is dynamically discovered and loaded during the startup of XXE (more info in Section 1, “Dynamic discovery of add-ons” in ) provided that it complies with the following conventions:
The code of the image toolkit plug-in must be contained in a JAR file having a name ending with "
This JAR file must contain a
META-INF/services/com.xmlmind.xmledit.imagetoolkit.ImageToolkit file containing the name of the class implementing interface
META-INF/services/com.xmlmind.xmledit.imagetoolkit.ImageToolkit which contains
If you plan to implement an image toolkit plug-in and need an example showing how this can be done, please send an email to
<firstname.lastname@example.org> and we'll provide you with the full source code of the "Apache Batik image toolkit plug-in ".