public class Data2PDF
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
fontPath |
static String |
fopConfig |
| Constructor and Description |
|---|
Data2PDF() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createPdfOutput(ObjectdataPdfInfo pdfInfo,
String template,
javax.servlet.http.HttpServletResponse response) |
static void |
createXmlOutput(ObjectdataPdfInfo object,
String xmlFile) |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP
GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP
POST method. |
List |
getData(nl.b3p.zoeker.configuratie.Bron b,
Gegevensbron gb,
String[] pks,
String[] propertyNames,
String appCode) |
String |
getServletInfo()
Returns a short description of the servlet.
|
Map |
getThemaLabelNames(Gegevensbron gb) |
String[] |
getThemaPropertyNames(Gegevensbron gb) |
void |
init(javax.servlet.ServletConfig config) |
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP
GET and
POST methods. |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GET and
POST methods.request - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionpublic static void createXmlOutput(ObjectdataPdfInfo object, String xmlFile)
public static void createPdfOutput(ObjectdataPdfInfo pdfInfo, String template, javax.servlet.http.HttpServletResponse response) throws MalformedURLException, IOException, SAXException
public String[] getThemaPropertyNames(Gegevensbron gb)
public Map getThemaLabelNames(Gegevensbron gb)
public List getData(nl.b3p.zoeker.configuratie.Bron b, Gegevensbron gb, String[] pks, String[] propertyNames, String appCode) throws IOException, Exception
IOExceptionExceptionpublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GET method.doGet in class javax.servlet.http.HttpServletrequest - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
POST method.doPost in class javax.servlet.http.HttpServletrequest - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletCopyright © 2015. All rights reserved.