Class XfdfDocument


  • public final class XfdfDocument
    extends java.lang.Object
    The parsed/in-memory form of one XFDF document (ISO 19444-1): the flat list of resolved XfdfFields from <fields> (see XfdfField.getQualifiedName() for how a nested <field> hierarchy collapses into this list), and the top-level XfdfAnnotations 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 via XfdfAnnotation.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.String getPdfHref()
      The <f href="..."/> element's target -- the PDF this XFDF was originally exported against, if stated.
      void setPdfHref​(java.lang.String pdfHref)
      Sets the <f href="..."/> target -- see getPdfHref().
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XfdfDocument

        public XfdfDocument()
    • 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 via XfdfAnnotation.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 -- see getPdfHref().