Class PDFieldTree

  • All Implemented Interfaces:
    java.lang.Iterable<PDField>

    public class PDFieldTree
    extends java.lang.Object
    implements java.lang.Iterable<PDField>
    The field tree.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  PDFieldTree.FieldIterator
      Iterator which walks all fields in the tree, in order.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private PDAcroForm acroForm  
      private static org.apache.commons.logging.Log LOG  
    • Constructor Summary

      Constructors 
      Constructor Description
      PDFieldTree​(PDAcroForm acroForm)
      Constructor for reading.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<PDField> iterator()
      Returns an iterator which walks all fields in the tree, in order.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • LOG

        private static final org.apache.commons.logging.Log LOG
    • Constructor Detail

      • PDFieldTree

        public PDFieldTree​(PDAcroForm acroForm)
        Constructor for reading.
        Parameters:
        acroForm - the AcroForm containing the fields.
    • Method Detail

      • iterator

        public java.util.Iterator<PDField> iterator()
        Returns an iterator which walks all fields in the tree, in order.
        Specified by:
        iterator in interface java.lang.Iterable<PDField>