|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lowagie.text.xml.XmlToXXX
Generates an XXX 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(String pageSize)
Construct an XmlToXXX with the specified page size. |
| Method Summary | |
protected abstract void |
addWriter(Document doc,
OutputStream out)
Add a DocWriter for the specified Document and
OutputStream. |
private static Rectangle |
getPageSize(String pageSize)
|
void |
parse(InputStream in,
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(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(InputStream in,
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(String pageSize)
protected abstract void addWriter(Document doc,
OutputStream out)
throws DocumentException
DocWriter for the specified Document and
OutputStream.
DocumentException - if document errors occur.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||