diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-12-16 14:40:20 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-12-16 14:40:20 +0000 |
commit | cd600b952b6326195b1670e6a17af75d51f46b57 (patch) | |
tree | 814b0f854cb41391f498b25a3412a8ad53d76f96 /src/java/META-INF | |
parent | 811fd3eefbfb06cb945bb3599523b7f3a15f251e (diff) | |
download | xmlgraphics-fop-cd600b952b6326195b1670e6a17af75d51f46b57.tar.gz xmlgraphics-fop-cd600b952b6326195b1670e6a17af75d51f46b57.zip |
XMLHandler interface changed so it reports whether it supports a particular Renderer instead of reporting the MIME type. One MIME type could be implemented by multiple Renderer implementations so conflicts could occur. Almost all XMLHandler implementations will have a dependency on a particular Renderer implementation.
XMLHandlers are now configurable.
Standard XMLHandlers now get registered through service lookup.
Simplification: XMLHandlers don't need nested classes for the handling functionality anymore. If Batik, for example, is not in the classpath it will already be detected while registering the XMLHandlers.
The RendererContextConstants interface now standardizes some of the keys used in the RendererContext and helps with actually decoupling the XMLHandler implementations from the renderers. This is one step towards making Batik an optional dependency and making it possible to move the SVG functionality to a separate place later.
Extracted the SVG XMLHandler functionality from the sandbox SVGRenderer into a separate class following the example of the other renderers.
Bugfix in PSSVGHandler: Fixed a copy/paste error which could lead to wrong clipping of an SVG image for PostScript output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357166 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/META-INF')
-rw-r--r-- | src/java/META-INF/services/org.apache.fop.render.XMLHandler | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/META-INF/services/org.apache.fop.render.XMLHandler b/src/java/META-INF/services/org.apache.fop.render.XMLHandler new file mode 100644 index 000000000..96c44118c --- /dev/null +++ b/src/java/META-INF/services/org.apache.fop.render.XMLHandler @@ -0,0 +1,3 @@ +org.apache.fop.render.pdf.PDFSVGHandler
+org.apache.fop.render.ps.PSSVGHandler
+org.apache.fop.render.java2d.Java2DSVGHandler
\ No newline at end of file |