Class PDActionFactory


  • public final class PDActionFactory
    extends java.lang.Object
    This class will take a dictionary and determine which type of action to create.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PDActionFactory()
      Utility Class.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PDAction createAction​(COSDictionary action)
      This will create the correct type of action based on the type specified in the dictionary.
      • Methods inherited from class java.lang.Object

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

      • PDActionFactory

        private PDActionFactory()
        Utility Class.
    • Method Detail

      • createAction

        public static PDAction createAction​(COSDictionary action)
        This will create the correct type of action based on the type specified in the dictionary.
        Parameters:
        action - An action dictionary.
        Returns:
        An action of the correct type.