com.lowagie.rups.view.itext.treenodes
public class XfaTreeNode extends FormTreeNode implements OutputStreamResource
Field Summary | |
---|---|
static byte[] | BOUNDARY_END End sequence of an artificial boundary between XFA fragments added by RUPS |
static byte[] | BOUNDARY_MIDDLE Middle sequence of an artificial boundary between XFA fragments added by RUPS |
static byte[] | BOUNDARY_START Start sequence of an artificial boundary between XFA fragments added by RUPS |
static long | serialVersionUID A serial version UID. |
Constructor Summary | |
---|---|
XfaTreeNode(PdfObjectTreeNode xfa)
Creates the root node of the XFA tree.
|
Method Summary | |
---|---|
void | addPacket(String key, PdfObjectTreeNode value)
Adds a child node to the XFA root.
|
void | writeTo(OutputStream os)
Writes (part of) the XFA resource to an OutputStream.
|
Parameters: xfa the XFA node in the PdfTree (a child of the AcroForm node in the PDF catalog)
Parameters: key the name of the packet value the corresponding stream node in the PdfTree
null
, the complete resource is written;
if key refers to an individual package, this package only is
written to the OutputStream.Parameters: os the OutputStream to which the XML is written.
Throws: IOException usual exception when there's a problem writing to an OutputStream