Package com.pd4ml.pdf.xfdf
XFDF (ISO 19444-1): exports a PDF document's annotations and form field values to XFDF, and imports them from it.
-
Class Summary Class Description XfdfAnnotation One<annots>entry (or a nested<popup>) -- a plain, generic bag of the XFDF attributes and child elements defined across every markup annotation type in ISO 19444-1 §6.4, rather than a separate Java class per PDF annotation subtype.XfdfDocument The parsed/in-memory form of one XFDF document (ISO 19444-1): the flat list of resolvedXfdfFields from<fields>(seeXfdfField.getQualifiedName()for how a nested<field>hierarchy collapses into this list), and the top-levelXfdfAnnotations from<annots>(each already carrying its own nested<popup>, if it has one, rather than that popup also appearing separately in this list).XfdfExporter Exports a PDF's markup annotations and AcroForm field values to an XFDF document (ISO 19444-1) -- built entirely on the pd4mlcom.pd4ml.pdf.cosobject model/parser (no PDFBox, no other PDF library), the same foundationcom.pd4ml.pdf.sign,com.pd4ml.pdf.mergeandcom.pd4ml.pdf.optimizerare built on.XfdfExporter.Options Export-time settings: the input password, and an optional type/ID subset to export.XfdfField One<field>entry under<fields>(ISO 19444-1 §6.3): a form field's fully-qualified name and its current value(s).XfdfImporter Imports an XFDF document's (ISO 19444-1) annotations and form field values into a PDF -- built entirely on the pd4mlcom.pd4ml.pdf.cosobject model/parser (no PDFBox, no other PDF library), the same foundationcom.pd4ml.pdf.sign,com.pd4ml.pdf.mergeandcom.pd4ml.pdf.optimizerare built on.XfdfImporter.Options XfdfImporter.Result The imported PDF, plus bookkeeping on what the import actually did.XfdfReader Parses an XFDF document (ISO 19444-1) into anXfdfDocument.XfdfWriter Serializes anXfdfDocumentto XFDF XML bytes (ISO 19444-1), hand-rolled the same waycom.pd4ml.pdf.merge.internal.PdfConformancebuilds its XMP packets, rather than pulling in a DOM/serializer dependency for what is, structurally, a very small and fixed document shape. -
Exception Summary Exception Description XfdfException Checked exception wrapping any failure that occurs while parsing an XFDF document, loading the PDF it targets, or applying/extracting annotation and form field data between the two.