diff options
author | Glen Mazza <gmazza@apache.org> | 2004-07-25 01:47:47 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-07-25 01:47:47 +0000 |
commit | 1351bab5738277f96d0db633bc34b1c3752571d8 (patch) | |
tree | fbfc0d494cc680cd56f462228e74f01cd9085d05 /test | |
parent | 7cede6edb15a9e46f385485571233d2831786809 (diff) | |
download | xmlgraphics-fop-1351bab5738277f96d0db633bc34b1c3752571d8.tar.gz xmlgraphics-fop-1351bab5738277f96d0db633bc34b1c3752571d8.zip |
Removed the non-File constructors from the InputHandler subclasses in favor
of JAXP (for embedded use), and standardized FOFileHandler to use a
StreamSource (like XSLTInputHandler). Currently, command Line usage
works only with files, but We may need to expand the constructors here
somewhat again should we provide other input options from the command line.
other options
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197838 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/java/org/apache/fop/BasicDriverTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/java/org/apache/fop/BasicDriverTestCase.java b/test/java/org/apache/fop/BasicDriverTestCase.java index 48c8678da..d1c2f2d9e 100644 --- a/test/java/org/apache/fop/BasicDriverTestCase.java +++ b/test/java/org/apache/fop/BasicDriverTestCase.java @@ -151,7 +151,7 @@ public class BasicDriverTestCase extends AbstractFOPTestCase { Fop fop = new Fop(Fop.RENDER_PDF); fop.setOutputStream(baout); - InputHandler handler = new XSLTInputHandler(xmlFile, xsltFile); + InputHandler handler = new XSLTInputHandler(xmlFile, xsltFile, null); handler.render(fop); assertTrue("Generated PDF has zero length", baout.size() > 0); |