|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.xml.XmlToXXX
com.lowagie.text.xml.XmlToPdf
public class XmlToPdf
PDF-specific subclass of XmlToXXX
.
Field Summary |
---|
Fields inherited from class com.lowagie.text.xml.XmlToXXX |
---|
pageSize |
Constructor Summary | |
---|---|
XmlToPdf()
Construct an XmlToPdf with the default page size. |
|
XmlToPdf(java.lang.String pageSize)
Construct an XmlToPdf with the specified page size. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.lowagie.text.xml.XmlToXXX |
---|
parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
.Method Detail |
---|
protected final void addWriter(Document doc, java.io.OutputStream out) throws DocumentException
DocWriter
for the specified Document
and
OutputStream
.
addWriter
in class XmlToXXX
doc
- The document to which content will be addedout
- The outputstream to which the PDF will be sent
DocumentException
- if document errors occur.public static void main(java.lang.String[] args)
XmlToPdf
class.
args
- String[]
of command-line arguments.
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |