public class XmlToPdf extends XmlToXXX
XmlToXXX.| Constructor and Description |
|---|
XmlToPdf()
Construct an
XmlToPdf with the default page size. |
XmlToPdf(java.lang.String pageSize)
Construct an
XmlToPdf with the specified page size. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addWriter(Document doc,
java.io.OutputStream out)
Add a
DocWriter for the specified Document and
OutputStream. |
static void |
main(java.lang.String[] args)
Main method of the
XmlToPdf class. |
public XmlToPdf()
XmlToPdf with the default page size.public XmlToPdf(java.lang.String pageSize)
XmlToPdf with the specified page size.pageSize - String page size name from
com.lowagie.text.PageSize.protected final void addWriter(Document doc, java.io.OutputStream out) throws DocumentException
DocWriter for the specified Document and
OutputStream.addWriter in class XmlToXXXdoc - The document to which content will be addedout - The outputstream to which the PDF will be sentDocumentException - if document errors occur.public static void main(java.lang.String[] args)
XmlToPdf class.args - String[] of command-line arguments.