diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-07-03 09:46:41 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-07-03 09:46:41 +0000 |
commit | 4e47dc20363d4ee9afbde17db4f7d20c5d480158 (patch) | |
tree | 6f5c714e59c93795a4f4b7ceecd12e06008d7835 /src/java/org/apache/fop/render/ps/PSDocumentHandlerMaker.java | |
parent | 2a7e60cb3390a91d428fb607c0e19eaa911ec5b9 (diff) | |
parent | ddf23aef5465ec7b939fb304b30d877bd5ec43be (diff) | |
download | xmlgraphics-fop-4e47dc20363d4ee9afbde17db4f7d20c5d480158.tar.gz xmlgraphics-fop-4e47dc20363d4ee9afbde17db4f7d20c5d480158.zip |
Merged Temp_URI_Unification branch back into trunk
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1356646 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ps/PSDocumentHandlerMaker.java')
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSDocumentHandlerMaker.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSDocumentHandlerMaker.java b/src/java/org/apache/fop/render/ps/PSDocumentHandlerMaker.java index c581f9e02..1c31c4906 100644 --- a/src/java/org/apache/fop/render/ps/PSDocumentHandlerMaker.java +++ b/src/java/org/apache/fop/render/ps/PSDocumentHandlerMaker.java @@ -19,7 +19,6 @@ package org.apache.fop.render.ps; -import org.apache.fop.apps.FOUserAgent; import org.apache.fop.apps.MimeConstants; import org.apache.fop.render.intermediate.AbstractIFDocumentHandlerMaker; import org.apache.fop.render.intermediate.IFContext; @@ -33,19 +32,17 @@ public class PSDocumentHandlerMaker extends AbstractIFDocumentHandlerMaker { private static final String[] MIMES = new String[] {MimeConstants.MIME_POSTSCRIPT}; - /** {@inheritDoc} */ - public IFDocumentHandler makeIFDocumentHandler(FOUserAgent ua) { - PSDocumentHandler handler = new PSDocumentHandler(); - handler.setContext(new IFContext(ua)); - return handler; + @Override + public IFDocumentHandler makeIFDocumentHandler(IFContext ifContext) { + return new PSDocumentHandler(ifContext); } - /** {@inheritDoc} */ + @Override public boolean needsOutputStream() { return true; } - /** {@inheritDoc} */ + @Override public String[] getSupportedMimeTypes() { return MIMES; } |