diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2007-07-18 17:37:14 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2007-07-18 17:37:14 +0000 |
commit | 4e921e05c7204e345525cf3e3312d8b8342d4b63 (patch) | |
tree | 05812a48470db3fa5acfb64156704485e86327ed /src/java/org/apache/fop/render/bitmap | |
parent | 8fcc676984fbb4b8023f79a51dc2fb9fdff1bbb4 (diff) | |
download | xmlgraphics-fop-4e921e05c7204e345525cf3e3312d8b8342d4b63.tar.gz xmlgraphics-fop-4e921e05c7204e345525cf3e3312d8b8342d4b63.zip |
* Javadoc update: use {@inheritDoc} instead of @see where applicable, removal of some @author tags
* Additional code cleanup: removal of unused imports (mainly in the fo.flow package)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/bitmap')
6 files changed, 20 insertions, 20 deletions
diff --git a/src/java/org/apache/fop/render/bitmap/PNGRenderer.java b/src/java/org/apache/fop/render/bitmap/PNGRenderer.java index 67bee3a8b..bedd2c499 100644 --- a/src/java/org/apache/fop/render/bitmap/PNGRenderer.java +++ b/src/java/org/apache/fop/render/bitmap/PNGRenderer.java @@ -52,12 +52,12 @@ public class PNGRenderer extends Java2DRenderer { /** Helper class for generating multiple files */ private MultiFileRenderingUtil multiFileUtil; - /** @see org.apache.fop.render.AbstractRenderer */ + /** {@inheritDoc} */ public String getMimeType() { return MIME_TYPE; } - /** @see org.apache.fop.render.Renderer#startRenderer(java.io.OutputStream) */ + /** {@inheritDoc} */ public void startRenderer(OutputStream outputStream) throws IOException { log.info("rendering areas to PNG"); multiFileUtil = new MultiFileRenderingUtil(PNG_FILE_EXTENSION, @@ -65,7 +65,7 @@ public class PNGRenderer extends Java2DRenderer { this.firstOutputStream = outputStream; } - /** @see org.apache.fop.render.Renderer#stopRenderer() */ + /** {@inheritDoc} */ public void stopRenderer() throws IOException { super.stopRenderer(); diff --git a/src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java b/src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java index 5fe35b667..6ef9e4a82 100644 --- a/src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java +++ b/src/java/org/apache/fop/render/bitmap/PNGRendererMaker.java @@ -32,17 +32,17 @@ public class PNGRendererMaker extends AbstractRendererMaker { private static final String[] MIMES = new String[] {MimeConstants.MIME_PNG};
- /** @see org.apache.fop.render.AbstractRendererMaker */
+ /** {@inheritDoc} */
public Renderer makeRenderer(FOUserAgent ua) {
return new PNGRenderer();
}
- /** @see org.apache.fop.render.AbstractRendererMaker#needsOutputStream() */
+ /** {@inheritDoc} */
public boolean needsOutputStream() {
return true;
}
- /** @see org.apache.fop.render.AbstractRendererMaker#getSupportedMimeTypes() */
+ /** {@inheritDoc} */
public String[] getSupportedMimeTypes() {
return MIMES;
}
diff --git a/src/java/org/apache/fop/render/bitmap/PNGRenderer_onthefly.java b/src/java/org/apache/fop/render/bitmap/PNGRenderer_onthefly.java index e02c015ae..36dd093b2 100644 --- a/src/java/org/apache/fop/render/bitmap/PNGRenderer_onthefly.java +++ b/src/java/org/apache/fop/render/bitmap/PNGRenderer_onthefly.java @@ -58,17 +58,17 @@ public class PNGRenderer_onthefly extends Java2DRenderer { /** The OutputStream for the first Image */ private OutputStream firstOutputStream; - /** @see org.apache.fop.render.AbstractRenderer */ + /** {@inheritDoc} */ public String getMimeType() { return MIME_TYPE; } - /** @see org.apache.fop.render.Renderer#supportsOutOfOrder() */ + /** {@inheritDoc} */ public boolean supportsOutOfOrder() { return true; } - /** @see org.apache.fop.render.Renderer#startRenderer(java.io.OutputStream) */ + /** {@inheritDoc} */ public void startRenderer(OutputStream outputStream) throws IOException { log.info("rendering areas to PNG"); setOutputDirectory(); @@ -97,7 +97,7 @@ public class PNGRenderer_onthefly extends Java2DRenderer { } /** - * @see org.apache.fop.render.Renderer#renderPage(org.apache.fop.area.PageViewport) + * {@inheritDoc} */ public void renderPage(PageViewport pageViewport) throws IOException { diff --git a/src/java/org/apache/fop/render/bitmap/TIFFRenderer.java b/src/java/org/apache/fop/render/bitmap/TIFFRenderer.java index 5c22c8f34..4f64e45e1 100644 --- a/src/java/org/apache/fop/render/bitmap/TIFFRenderer.java +++ b/src/java/org/apache/fop/render/bitmap/TIFFRenderer.java @@ -89,7 +89,7 @@ public class TIFFRenderer extends Java2DRenderer { private OutputStream outputStream; - /** @see org.apache.fop.render.AbstractRenderer */ + /** {@inheritDoc} */ public String getMimeType() { return MIME_TYPE; } @@ -101,7 +101,7 @@ public class TIFFRenderer extends Java2DRenderer { } /** - * @see org.apache.fop.render.java2d.Java2DRenderer#setUserAgent( + * {@inheritDoc} * org.apache.fop.apps.FOUserAgent) */ public void setUserAgent(FOUserAgent foUserAgent) { @@ -112,13 +112,13 @@ public class TIFFRenderer extends Java2DRenderer { writerParams.setResolution(dpi); } - /** @see org.apache.fop.render.Renderer#startRenderer(java.io.OutputStream) */ + /** {@inheritDoc} */ public void startRenderer(OutputStream outputStream) throws IOException { this.outputStream = outputStream; super.startRenderer(outputStream); } - /** @see org.apache.fop.render.Renderer#stopRenderer() */ + /** {@inheritDoc} */ public void stopRenderer() throws IOException { super.stopRenderer(); log.debug("Starting TIFF encoding ..."); @@ -156,7 +156,7 @@ public class TIFFRenderer extends Java2DRenderer { log.debug("TIFF encoding done."); } - /** @see org.apache.fop.render.java2d.Java2DRenderer#getBufferedImage(int, int) */ + /** {@inheritDoc} */ protected BufferedImage getBufferedImage(int bitmapWidth, int bitmapHeight) { return new BufferedImage(bitmapWidth, bitmapHeight, bufferedImageType); } diff --git a/src/java/org/apache/fop/render/bitmap/TIFFRendererConfigurator.java b/src/java/org/apache/fop/render/bitmap/TIFFRendererConfigurator.java index 2e4e29691..41b05ecd7 100644 --- a/src/java/org/apache/fop/render/bitmap/TIFFRendererConfigurator.java +++ b/src/java/org/apache/fop/render/bitmap/TIFFRendererConfigurator.java @@ -45,7 +45,7 @@ public class TIFFRendererConfigurator extends PrintRendererConfigurator { * compression * @param renderer tiff renderer * @throws FOPException fop exception - * @see org.apache.fop.render.PrintRendererConfigurator#configure(Renderer) + * {@inheritDoc} */ public void configure(Renderer renderer) throws FOPException { Configuration cfg = super.getRendererConfig(renderer); diff --git a/src/java/org/apache/fop/render/bitmap/TIFFRendererMaker.java b/src/java/org/apache/fop/render/bitmap/TIFFRendererMaker.java index 5e9f18261..09af92b05 100644 --- a/src/java/org/apache/fop/render/bitmap/TIFFRendererMaker.java +++ b/src/java/org/apache/fop/render/bitmap/TIFFRendererMaker.java @@ -32,22 +32,22 @@ public class TIFFRendererMaker extends AbstractRendererMaker { private static final String[] MIMES = new String[] {MimeConstants.MIME_TIFF};
- /** @see org.apache.fop.render.AbstractRendererMaker#makeRenderer(FOUserAgent) */
+ /** {@inheritDoc} */
public Renderer makeRenderer(FOUserAgent userAgent) {
return new TIFFRenderer();
}
- /** @see org.apache.fop.render.AbstractRendererMaker#getConfigurator(FOUserAgent) */
+ /** {@inheritDoc} */
public RendererConfigurator getConfigurator(FOUserAgent userAgent) {
return new TIFFRendererConfigurator(userAgent);
}
- /** @see org.apache.fop.render.AbstractRendererMaker#needsOutputStream() */
+ /** {@inheritDoc} */
public boolean needsOutputStream() {
return true;
}
- /** @see org.apache.fop.render.AbstractRendererMaker#getSupportedMimeTypes() */
+ /** {@inheritDoc} */
public String[] getSupportedMimeTypes() {
return MIMES;
}
|