aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/apps/CommandLineOptions.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-07-25 17:04:44 +0000
committerGlen Mazza <gmazza@apache.org>2004-07-25 17:04:44 +0000
commitd918e59ad096f78692e1177646e719110762aea9 (patch)
treef1f6b81d618ef126ee72fe53bdc683f2971a83b0 /src/java/org/apache/fop/apps/CommandLineOptions.java
parent11c7751e99bb7c57b359da3b55b66f8c6013b5b8 (diff)
downloadxmlgraphics-fop-d918e59ad096f78692e1177646e719110762aea9.tar.gz
xmlgraphics-fop-d918e59ad096f78692e1177646e719110762aea9.zip
Took advantage of the Transformer similarities between FO input and
(XSL, XSLT) input to combine the two into InputHandler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197840 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps/CommandLineOptions.java')
-rw-r--r--src/java/org/apache/fop/apps/CommandLineOptions.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/apps/CommandLineOptions.java b/src/java/org/apache/fop/apps/CommandLineOptions.java
index e26e767be..d2f4cdc57 100644
--- a/src/java/org/apache/fop/apps/CommandLineOptions.java
+++ b/src/java/org/apache/fop/apps/CommandLineOptions.java
@@ -483,9 +483,9 @@ public class CommandLineOptions implements Constants {
private InputHandler createInputHandler() throws IllegalArgumentException {
switch (inputmode) {
case FO_INPUT:
- return new FOFileHandler(fofile);
+ return new InputHandler(fofile);
case XSLT_INPUT:
- return new XSLTInputHandler(xmlfile, xsltfile, xsltParams);
+ return new InputHandler(xmlfile, xsltfile, xsltParams);
default:
throw new IllegalArgumentException("Error creating InputHandler object.");
}