Commit 76ef8916 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Maded it work inside a Loop

parent 8e479240
/**
* $Id: PDFSerializer.java,v 1.13 2002-11-07 14:31:11 triolet Exp $
* $Id: PDFSerializer.java,v 1.14 2002-11-08 07:42:21 triolet Exp $
*
* Transmorpher
*
......@@ -89,6 +89,9 @@ public final class PDFSerializer extends TSerializer {
*/
protected Driver driver = null;
protected ContentHandler handler = null;
/**
* Constructor for the PDFSerializer object
*
......@@ -119,7 +122,7 @@ public final class PDFSerializer extends TSerializer {
*@return The contentHandler value
*/
public ContentHandler getContentHandler() {
return (ContentHandler)driver.getContentHandler();
return handler;
}
/**
......@@ -132,6 +135,7 @@ public final class PDFSerializer extends TSerializer {
public void setOutputStream() throws TMRuntimeException, TMException, SAXException {
super.setOutputStream();
driver.setOutputStream(getOutputStream());
handler=(ContentHandler)driver.getContentHandler();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment