public class XmlToHtml extends XmlToXXX
XmlToXXX
.Constructor and Description |
---|
XmlToHtml()
Construct an
XmlToHtml with the default page size. |
XmlToHtml(java.lang.String pageSize)
Construct an
XmlToHtml 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
XmlToHtml class. |
public XmlToHtml()
XmlToHtml
with the default page size.public XmlToHtml(java.lang.String pageSize)
XmlToHtml
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 XmlToXXX
doc
- The document to which content will be addedout
- The outputstream where the HTML will be sent toDocumentException
- if document errors occur.public static void main(java.lang.String[] args)
XmlToHtml
class.args
- String[]
of command-line arguments.