Package com.pd4ml.pdf.xfdf
Class XfdfDocument
- java.lang.Object
-
- com.pd4ml.pdf.xfdf.XfdfDocument
-
public final class XfdfDocument extends java.lang.ObjectThe 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).
-
-
Constructor Summary
Constructors Constructor Description XfdfDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<XfdfAnnotation>getAnnotations()Every top-level annotation from<annots>(a nested<popup>is reachable viaXfdfAnnotation.getPopup(), not listed here separately).java.util.List<XfdfField>getFields()Every resolved leaf field (<field>elements that carry a value, however deeply nested).java.lang.StringgetPdfHref()The<f href="..."/>element's target -- the PDF this XFDF was originally exported against, if stated.voidsetPdfHref(java.lang.String pdfHref)Sets the<f href="..."/>target -- seegetPdfHref().
-
-
-
Method Detail
-
getFields
public java.util.List<XfdfField> getFields()
Every resolved leaf field (<field>elements that carry a value, however deeply nested).
-
getAnnotations
public java.util.List<XfdfAnnotation> getAnnotations()
Every top-level annotation from<annots>(a nested<popup>is reachable viaXfdfAnnotation.getPopup(), not listed here separately).
-
getPdfHref
public java.lang.String getPdfHref()
The<f href="..."/>element's target -- the PDF this XFDF was originally exported against, if stated.
-
setPdfHref
public void setPdfHref(java.lang.String pdfHref)
Sets the<f href="..."/>target -- seegetPdfHref().
-
-