]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Add getMimeType() to the Renderer interface as AbstractRenderer implements this anywa...
authorJeremias Maerki <jeremias@apache.org>
Sun, 10 Oct 2004 11:30:24 +0000 (11:30 +0000)
committerJeremias Maerki <jeremias@apache.org>
Sun, 10 Oct 2004 11:30:24 +0000 (11:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198023 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/Renderer.java

index febc8b39d88e9b9d376f53cd1bc306aa84130f6e..ff1cb0a6bce013073a4e9f4dde33285117e21757 100644 (file)
@@ -53,6 +53,13 @@ public interface Renderer {
 
 
     /**
+     * Get the MIME type of the renderer.
+     * 
+     * @return The MIME type of the renderer, may return null if not applicable.
+     */
+    String getMimeType();
+
+        /**
      * Initiates the rendering phase.
      * This must only be called once for a rendering. If
      * stopRenderer is called then this may be called again