|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.lowagie.rups.view.icons.IconTreeNode
com.lowagie.rups.view.itext.treenodes.FormTreeNode
com.lowagie.rups.view.itext.treenodes.XfaTreeNode
public class XfaTreeNode
This is the root tree node for the different parts of the XFA resource; it's a child of the root in the FormTree. This resource can be one XDP stream (in which case this root will only have one child) or different streams with individual packets comprising the XML Data Package.
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 |
private static long |
serialVersionUID
A serial version UID. |
Fields inherited from class com.lowagie.rups.view.itext.treenodes.FormTreeNode |
---|
object_node |
Fields inherited from class com.lowagie.rups.view.icons.IconTreeNode |
---|
icon |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
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. |
Methods inherited from class com.lowagie.rups.view.itext.treenodes.FormTreeNode |
---|
getCorrespondingPdfObjectNode |
Methods inherited from class com.lowagie.rups.view.icons.IconTreeNode |
---|
getIcon |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte[] BOUNDARY_START
public static final byte[] BOUNDARY_MIDDLE
public static final byte[] BOUNDARY_END
private static final long serialVersionUID
Constructor Detail |
---|
public XfaTreeNode(PdfObjectTreeNode xfa)
xfa
- the XFA node in the PdfTree (a child of the AcroForm node in the PDF catalog)Method Detail |
---|
public void writeTo(OutputStream os) throws IOException
null
, the complete resource is written;
if key refers to an individual package, this package only is
written to the OutputStream.
writeTo
in interface OutputStreamResource
os
- the OutputStream to which the XML is written.
IOException
- usual exception when there's a problem writing to an OutputStreampublic void addPacket(String key, PdfObjectTreeNode value)
key
- the name of the packetvalue
- the corresponding stream node in the PdfTree
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |