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(Source src,
Transformer transformer,
jakarta.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(Source src, Transformer transformer, jakarta.servlet.http.HttpServletResponse response) throws FOPException, TransformerException, 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-FOTransformerException
- If an error occurs during XSL
transformationIOException
- In case of an I/O problemCopyright © 2025 Apache Software Foundation. All rights reserved.