public class FopPrintServlet extends FopServlet
FO_REQUEST_PARAM, fopFactory, transFactory, uriResolver, XML_REQUEST_PARAM, XSLT_REQUEST_PARAM
Constructor and Description |
---|
FopPrintServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
render(javax.xml.transform.Source src,
javax.xml.transform.Transformer transformer,
javax.servlet.http.HttpServletResponse response)
Renders an input file (XML or XSL-FO) into a PDF file.
|
configureFopFactory, convertString2Source, doGet, getFOUserAgent, init, renderFO, renderXML
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected void render(javax.xml.transform.Source src, javax.xml.transform.Transformer transformer, javax.servlet.http.HttpServletResponse response) throws FOPException, javax.xml.transform.TransformerException, java.io.IOException
render
in class FopServlet
src
- Input XML or XSL-FOtransformer
- Transformer to use for optional transformationresponse
- HTTP response objectFOPException
- If an error occurs during the rendering of the
XSL-FOjavax.xml.transform.TransformerException
- If an error occurs during XSL
transformationjava.io.IOException
- In case of an I/O problemCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.