| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| private static byte[] | |
| private static byte[] | |
| public COSBase | getCOSObject()
Implements org. Convert this standard java object to a COS object. |
| public Document |
| xfa | back to summary |
|---|---|
| private final COSBase xfa | |
| PDXFAResource | back to summary |
|---|---|
| public PDXFAResource(COSBase xfaBase) Constructor.
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() throws IOException Get the XFA content as byte array. The XFA is either a stream containing the entire XFA resource or an array specifying individual packets that together make up the XFA resource. A packet is a pair of a string and stream. The string contains the name of the XML element and the stream contains the complete text of this XML element. Each packet represents a complete XML element, with the exception of the first and last packet, which specify begin and end tags for the xdp:xdp element. [IS0 32000-1:2008: 12.7.8]
| |
| getBytesFromPacket | back to summary |
|---|---|
| private static byte[] getBytesFromPacket(final COSArray cosArray) throws IOException | |
| getBytesFromStream | back to summary |
|---|---|
| private static byte[] getBytesFromStream(final COSStream stream) throws IOException | |
| getCOSObject | back to summary |
|---|---|
| public COSBase getCOSObject() Implements org. Doc from org. Convert this standard java object to a COS object. | |
| getDocument | back to summary |
|---|---|
| public Document getDocument() throws IOException Get the XFA content as W3C document.
| |