Class PDFieldTree

java.lang.Object
org.sejda.sambox.pdmodel.interactive.form.PDFieldTree
All Implemented Interfaces:
Iterable<PDField>

public class PDFieldTree extends Object implements Iterable<PDField>
The field tree allowing a post-order iteration of the nodes.
  • Constructor Details

    • PDFieldTree

      public PDFieldTree(PDAcroForm acroForm)
      Parameters:
      acroForm - the AcroForm containing the fields.
  • Method Details

    • iterator

      public Iterator<PDField> iterator()
      Specified by:
      iterator in interface Iterable<PDField>
      Returns:
      an iterator which walks all fields in the tree, post-order.
    • stream

      public Stream<PDField> stream()
      Returns:
      a pre order sequential Stream over the fields of this form.