aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/cli
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2008-07-24 09:35:34 +0000
committerVincent Hennebert <vhennebert@apache.org>2008-07-24 09:35:34 +0000
commit92df262a0778ee539c849454be2810621dac1b7e (patch)
treed5be9359cbacb91dffcab6f1a6ecfe61e9db2c6b /src/java/org/apache/fop/cli
parent30e2ce5bee38cbc32758e0b65fa7f98f3db76baa (diff)
downloadxmlgraphics-fop-92df262a0778ee539c849454be2810621dac1b7e.tar.gz
xmlgraphics-fop-92df262a0778ee539c849454be2810621dac1b7e.zip
Fed up with all those trailing whitespaces. Let's remove them all (once... and for all?)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/cli')
-rw-r--r--src/java/org/apache/fop/cli/AreaTreeInputHandler.java12
-rw-r--r--src/java/org/apache/fop/cli/ImageInputHandler.java4
2 files changed, 8 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/cli/AreaTreeInputHandler.java b/src/java/org/apache/fop/cli/AreaTreeInputHandler.java
index b32cfcacd..e56d03774 100644
--- a/src/java/org/apache/fop/cli/AreaTreeInputHandler.java
+++ b/src/java/org/apache/fop/cli/AreaTreeInputHandler.java
@@ -43,7 +43,7 @@ public class AreaTreeInputHandler extends InputHandler {
* Constructor for XML->XSLT->area tree XML input
* @param xmlfile XML file
* @param xsltfile XSLT file
- * @param params Vector of command-line parameters (name, value,
+ * @param params Vector of command-line parameters (name, value,
* name, value, ...) for XSL stylesheet, null if none
*/
public AreaTreeInputHandler(File xmlfile, File xsltfile, Vector params) {
@@ -59,20 +59,20 @@ public class AreaTreeInputHandler extends InputHandler {
}
/** {@inheritDoc} */
- public void renderTo(FOUserAgent userAgent, String outputFormat, OutputStream out)
+ public void renderTo(FOUserAgent userAgent, String outputFormat, OutputStream out)
throws FOPException {
FontInfo fontInfo = new FontInfo();
- AreaTreeModel treeModel = new RenderPagesModel(userAgent,
+ AreaTreeModel treeModel = new RenderPagesModel(userAgent,
outputFormat, fontInfo, out);
-
+
//Iterate over all intermediate files
AreaTreeParser parser = new AreaTreeParser();
-
+
// Resulting SAX events (the generated FO) must be piped through to FOP
Result res = new SAXResult(parser.getContentHandler(treeModel, userAgent));
transformTo(res);
-
+
try {
treeModel.endDocument();
} catch (SAXException e) {
diff --git a/src/java/org/apache/fop/cli/ImageInputHandler.java b/src/java/org/apache/fop/cli/ImageInputHandler.java
index fe3d5021f..b8439bc7a 100644
--- a/src/java/org/apache/fop/cli/ImageInputHandler.java
+++ b/src/java/org/apache/fop/cli/ImageInputHandler.java
@@ -35,7 +35,7 @@ public class ImageInputHandler extends InputHandler {
* Main constructor.
* @param imagefile the image file
* @param xsltfile XSLT file (may be null in which case the default stylesheet is used)
- * @param params Vector of command-line parameters (name, value,
+ * @param params Vector of command-line parameters (name, value,
* name, value, ...) for XSL stylesheet, null if none
*/
public ImageInputHandler(File imagefile, File xsltfile, Vector params) {
@@ -47,7 +47,7 @@ public class ImageInputHandler extends InputHandler {
return new StreamSource(new StringReader(
"<image>" + this.sourcefile.toURI().toASCIIString() + "</image>"));
}
-
+
/** {@inheritDoc} */
protected Source createXSLTSource() {
Source src = super.createXSLTSource();