aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/svg
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-10-01 15:36:10 +0000
committerJeremias Maerki <jeremias@apache.org>2009-10-01 15:36:10 +0000
commit05c9bf87263a7917e1ee8e04de55505d1d564135 (patch)
treee7685d408779cdfad5d85f8093c5191a3ebcc4d2 /src/java/org/apache/fop/svg
parentbabc376fe8ca69531570bf3373c1989fc0ab4cc8 (diff)
downloadxmlgraphics-fop-05c9bf87263a7917e1ee8e04de55505d1d564135.tar.gz
xmlgraphics-fop-05c9bf87263a7917e1ee8e04de55505d1d564135.zip
Javadocs: Removed all <tt> occurrences with <code> or {@link}.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@820689 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/svg')
-rw-r--r--src/java/org/apache/fop/svg/AbstractFOPTextPainter.java3
-rw-r--r--src/java/org/apache/fop/svg/AbstractFOPTranscoder.java10
-rw-r--r--src/java/org/apache/fop/svg/PDFAElementBridge.java10
-rw-r--r--src/java/org/apache/fop/svg/PDFANode.java9
-rw-r--r--src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java6
-rw-r--r--src/java/org/apache/fop/svg/PDFGraphicsConfiguration.java6
-rw-r--r--src/java/org/apache/fop/svg/PDFTextPainter.java2
-rw-r--r--src/java/org/apache/fop/svg/PDFTranscoder.java18
8 files changed, 31 insertions, 33 deletions
diff --git a/src/java/org/apache/fop/svg/AbstractFOPTextPainter.java b/src/java/org/apache/fop/svg/AbstractFOPTextPainter.java
index 6520abd5d..69d02d814 100644
--- a/src/java/org/apache/fop/svg/AbstractFOPTextPainter.java
+++ b/src/java/org/apache/fop/svg/AbstractFOPTextPainter.java
@@ -49,9 +49,8 @@ import org.apache.fop.fonts.Font;
import org.apache.fop.fonts.FontInfo;
import org.apache.fop.fonts.FontTriplet;
-
/**
- * Renders the attributed character iterator of a <tt>TextNode</tt>.
+ * Renders the attributed character iterator of a {@link TextNode}.
* This class draws the text directly into the Graphics2D so that
* the text is not drawn using shapes.
* If the text is simple enough to draw then it sets the font and calls
diff --git a/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java b/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java
index 551da21df..eec402075 100644
--- a/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java
+++ b/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java
@@ -180,7 +180,7 @@ public abstract class AbstractFOPTranscoder extends SVGAbstractTranscoder {
}
/**
- * Creates a <tt>DocumentFactory</tt> that is used to create an SVG DOM
+ * Creates a {@link DocumentFactory} that is used to create an SVG DOM
* tree. The specified DOM Implementation is ignored and the Batik
* SVG DOM Implementation is automatically used.
*
@@ -326,7 +326,7 @@ public abstract class AbstractFOPTranscoder extends SVGAbstractTranscoder {
protected class FOPTranscoderUserAgent extends SVGAbstractTranscoderUserAgent {
/**
- * Displays the specified error message using the <tt>ErrorHandler</tt>.
+ * Displays the specified error message using the {@link ErrorHandler}.
* @param message the message to display
*/
public void displayError(String message) {
@@ -338,7 +338,7 @@ public abstract class AbstractFOPTranscoder extends SVGAbstractTranscoder {
}
/**
- * Displays the specified error using the <tt>ErrorHandler</tt>.
+ * Displays the specified error using the {@link ErrorHandler}.
* @param e the exception to display
*/
public void displayError(Exception e) {
@@ -350,7 +350,7 @@ public abstract class AbstractFOPTranscoder extends SVGAbstractTranscoder {
}
/**
- * Displays the specified message using the <tt>ErrorHandler</tt>.
+ * Displays the specified message using the {@link ErrorHandler}.
* @param message the message to display
*/
public void displayMessage(String message) {
@@ -359,7 +359,7 @@ public abstract class AbstractFOPTranscoder extends SVGAbstractTranscoder {
/**
* Returns the pixel to millimeter conversion factor specified in the
- * <tt>TranscodingHints</tt> or 0.3528 if any.
+ * {@link TranscodingHints} or 0.3528 if any.
* @return the pixel unit to millimeter factor
*/
public float getPixelUnitToMillimeter() {
diff --git a/src/java/org/apache/fop/svg/PDFAElementBridge.java b/src/java/org/apache/fop/svg/PDFAElementBridge.java
index 9ab360f39..c68578d63 100644
--- a/src/java/org/apache/fop/svg/PDFAElementBridge.java
+++ b/src/java/org/apache/fop/svg/PDFAElementBridge.java
@@ -21,14 +21,14 @@ package org.apache.fop.svg;
import java.awt.geom.AffineTransform;
+import org.w3c.dom.Element;
+import org.w3c.dom.svg.SVGAElement;
+
import org.apache.batik.bridge.AbstractGraphicsNodeBridge;
import org.apache.batik.bridge.BridgeContext;
-
+import org.apache.batik.gvt.CompositeGraphicsNode;
import org.apache.batik.gvt.GraphicsNode;
-import org.w3c.dom.Element;
-import org.w3c.dom.svg.SVGAElement;
-
/**
* Bridge class for the &lt;a> element.
*
@@ -65,7 +65,7 @@ public class PDFAElementBridge extends AbstractGraphicsNodeBridge {
}
/**
- * Creates a <tt>CompositeGraphicsNode</tt>.
+ * Creates a {@link CompositeGraphicsNode}.
* @return a new PDFANode
*/
protected GraphicsNode instantiateGraphicsNode() {
diff --git a/src/java/org/apache/fop/svg/PDFANode.java b/src/java/org/apache/fop/svg/PDFANode.java
index a2d1d354c..8fadc11e2 100644
--- a/src/java/org/apache/fop/svg/PDFANode.java
+++ b/src/java/org/apache/fop/svg/PDFANode.java
@@ -19,15 +19,14 @@
package org.apache.fop.svg;
-import org.apache.batik.gvt.CompositeGraphicsNode;
-
import java.awt.Graphics2D;
import java.awt.Shape;
-import java.awt.geom.Rectangle2D;
import java.awt.geom.AffineTransform;
-
+import java.awt.geom.Rectangle2D;
import java.util.StringTokenizer;
+import org.apache.batik.gvt.CompositeGraphicsNode;
+
/**
* A graphics node that represents an image described as a graphics node.
*
@@ -38,7 +37,7 @@ public class PDFANode extends CompositeGraphicsNode {
private AffineTransform transform;
/**
- * Constructs a new empty <tt>PDFANode</tt>.
+ * Constructs a new empty {@link PDFANode}.
*/
public PDFANode() {
}
diff --git a/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java b/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java
index cc6e06978..cf3053e19 100644
--- a/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java
+++ b/src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java
@@ -44,9 +44,9 @@ import org.apache.fop.pdf.PDFResources;
import org.apache.fop.pdf.PDFStream;
/**
- * This class is a wrapper for the <tt>PDFGraphics2D</tt> that
- * is used to create a full document around the pdf rendering from
- * <tt>PDFGraphics2D</tt>.
+ * This class is a wrapper for the {@link PDFGraphics2D} that
+ * is used to create a full document around the PDF rendering from
+ * {@link PDFGraphics2D}.
*
* @see org.apache.fop.svg.PDFGraphics2D
*/
diff --git a/src/java/org/apache/fop/svg/PDFGraphicsConfiguration.java b/src/java/org/apache/fop/svg/PDFGraphicsConfiguration.java
index 0204a2756..4ec6ad634 100644
--- a/src/java/org/apache/fop/svg/PDFGraphicsConfiguration.java
+++ b/src/java/org/apache/fop/svg/PDFGraphicsConfiguration.java
@@ -19,12 +19,12 @@
package org.apache.fop.svg;
-import java.awt.Rectangle;
import java.awt.GraphicsDevice;
+import java.awt.Rectangle;
import java.awt.Transparency;
-import java.awt.image.ColorModel;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
+import java.awt.image.ColorModel;
/**
@@ -92,7 +92,7 @@ class PDFGraphicsConfiguration extends GraphicsConfiguration {
}
/**
- * Return a good color model given <tt>transparency</tt>
+ * Return a good color model given <code>transparency</code>
*
* @param transparency the alpha value for the colour model
* @return the colour model for the configuration
diff --git a/src/java/org/apache/fop/svg/PDFTextPainter.java b/src/java/org/apache/fop/svg/PDFTextPainter.java
index dddf61a6e..e962d5a59 100644
--- a/src/java/org/apache/fop/svg/PDFTextPainter.java
+++ b/src/java/org/apache/fop/svg/PDFTextPainter.java
@@ -40,7 +40,7 @@ import org.apache.fop.fonts.FontInfo;
import org.apache.fop.util.CharUtilities;
/**
- * Renders the attributed character iterator of a <tt>TextNode</tt>.
+ * Renders the attributed character iterator of a {@link TextNode}.
* This class draws the text directly into the PDFGraphics2D so that
* the text is not drawn using shapes which makes the PDF files larger.
* If the text is simple enough to draw then it sets the font and calls
diff --git a/src/java/org/apache/fop/svg/PDFTranscoder.java b/src/java/org/apache/fop/svg/PDFTranscoder.java
index 062270f6b..fc27cb48a 100644
--- a/src/java/org/apache/fop/svg/PDFTranscoder.java
+++ b/src/java/org/apache/fop/svg/PDFTranscoder.java
@@ -43,28 +43,28 @@ import org.apache.fop.fonts.FontInfo;
/**
* This class enables to transcode an input to a pdf document.
*
- * <p>Two transcoding hints (<tt>KEY_WIDTH</tt> and
- * <tt>KEY_HEIGHT</tt>) can be used to respectively specify the image
+ * <p>Two transcoding hints (<code>KEY_WIDTH</code> and
+ * <code>KEY_HEIGHT</code>) can be used to respectively specify the image
* width and the image height. If only one of these keys is specified,
* the transcoder preserves the aspect ratio of the original image.
*
- * <p>The <tt>KEY_BACKGROUND_COLOR</tt> defines the background color
+ * <p>The <code>KEY_BACKGROUND_COLOR</code> defines the background color
* to use for opaque image formats, or the background color that may
* be used for image formats that support alpha channel.
*
- * <p>The <tt>KEY_AOI</tt> represents the area of interest to paint
+ * <p>The <code>KEY_AOI</code> represents the area of interest to paint
* in device space.
*
* <p>Three additional transcoding hints that act on the SVG
* processor can be specified:
*
- * <p><tt>KEY_LANGUAGE</tt> to set the default language to use (may be
+ * <p><code>KEY_LANGUAGE</code> to set the default language to use (may be
* used by a &lt;switch> SVG element for example),
- * <tt>KEY_USER_STYLESHEET_URI</tt> to fix the URI of a user
- * stylesheet, and <tt>KEY_PIXEL_TO_MM</tt> to specify the pixel to
+ * <code>KEY_USER_STYLESHEET_URI</code> to fix the URI of a user
+ * stylesheet, and <code>KEY_PIXEL_TO_MM</code> to specify the pixel to
* millimeter conversion factor.
*
- * <p><tt>KEY_AUTO_FONTS</tt> to disable the auto-detection of fonts installed in the system.
+ * <p><code>KEY_AUTO_FONTS</code> to disable the auto-detection of fonts installed in the system.
* The PDF Transcoder cannot use AWT's font subsystem and that's why the fonts have to be
* configured differently. By default, font auto-detection is enabled to match the behaviour
* of the other transcoders, but this may be associated with a price in the form of a small
@@ -80,7 +80,7 @@ public class PDFTranscoder extends AbstractFOPTranscoder
protected PDFDocumentGraphics2D graphics = null;
/**
- * Constructs a new <tt>PDFTranscoder</tt>.
+ * Constructs a new {@link PDFTranscoder}.
*/
public PDFTranscoder() {
super();