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.
This class provides 5 methods for working with XfaPacketParser objects in Java programs.
Available methods include: XfaPacketParser, getAllPackets, getPacket, getXDP, writeBack.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: allPackets, xDP.
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: PdfBase) | 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: PdfBase) | Writes modified packet DOMs back to the PDF structures. |