Package com.lowagie.text.xml
Class XmlToPdf
- java.lang.Object
-
- com.lowagie.text.xml.XmlToXXX
-
- com.lowagie.text.xml.XmlToPdf
-
public class XmlToPdf extends XmlToXXX
PDF-specific subclass ofXmlToXXX.- Version:
- 1.0
- Author:
- Matt Benson
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddWriter(Document doc, java.io.OutputStream out)Add aDocWriterfor the specifiedDocumentandOutputStream.static voidmain(java.lang.String[] args)Main method of theXmlToPdfclass.
-
-
-
Method Detail
-
addWriter
protected final void addWriter(Document doc, java.io.OutputStream out) throws DocumentException
Add aDocWriterfor the specifiedDocumentandOutputStream.- Specified by:
addWriterin classXmlToXXX- Parameters:
doc- The document to which content will be addedout- The outputstream to which the PDF will be sent- Throws:
DocumentException- if document errors occur.
-
main
public static void main(java.lang.String[] args)
Main method of theXmlToPdfclass.- Parameters:
args-String[]of command-line arguments.
-
-