|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.xml.XmlToXXX
public abstract class XmlToXXX
Generates an specific file from an iText XML file.
| Field Summary | |
|---|---|
protected Rectangle |
pageSize
|
| Constructor Summary | |
|---|---|
|
XmlToXXX()
Construct an XmlToXXX with the default page size. |
private |
XmlToXXX(Rectangle pageSize)
|
|
XmlToXXX(java.lang.String pageSize)
Construct an XmlToXXX with the specified page size. |
| Method Summary | |
|---|---|
protected abstract void |
addWriter(Document doc,
java.io.OutputStream out)
Add a DocWriter for the specified Document and
OutputStream. |
private static Rectangle |
getPageSize(java.lang.String pageSize)
|
void |
parse(java.io.InputStream in,
java.io.OutputStream out)
Parse the XML from the specified InputStream, writing to the
specified OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Rectangle pageSize
| Constructor Detail |
|---|
public XmlToXXX()
XmlToXXX with the default page size.
public XmlToXXX(java.lang.String pageSize)
XmlToXXX with the specified page size.
pageSize - String page size name from
com.lowagie.text.PageSize.private XmlToXXX(Rectangle pageSize)
| Method Detail |
|---|
public final void parse(java.io.InputStream in,
java.io.OutputStream out)
throws DocumentException
InputStream, writing to the
specified OutputStream.
in - the InputStream from which the XML is read.out - the OutputStream to which the result is written.
DocumentException - if document errors occur.private static Rectangle getPageSize(java.lang.String pageSize)
protected abstract void addWriter(Document doc,
java.io.OutputStream out)
throws DocumentException
DocWriter for the specified Document and
OutputStream.
doc - The document to which content will be addedout - The outputstream to which the document will be sent
DocumentException - if document errors occur.
|
Hosted by Hostbasket | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||