XfaPacketParser
Overview
XfaPacketParser is a class in Aspose.Pdf FOSS for Java.
Extracts and manages XML packets from the /XFA entry in a PDF AcroForm dictionary.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
xDP | Document | Read | Returns the assembled XDP document containing all packets. |
allPackets | Map<String, Document> | Read | Returns all parsed packets as an unmodifiable-order map. |
Methods
| Signature | Description |
|---|---|
XfaPacketParser(xfaEntry: COSBase) | Parses the /XFA entry from an AcroForm dictionary. |
getPacket(name: String) → Document | Returns a specific packet by name. |
getXDP() → Document | Returns the assembled XDP document containing all packets. |
getAllPackets() → Map<String, Document> | Returns all parsed packets as an unmodifiable-order map. |
writeBack(xfaEntry: COSBase) | Writes modified packet DOMs back to the COS structures. |