java.lang.Object
org.apache.pdfbox.pdmodel.interactive.action.type.PDAction
org.apache.pdfbox.pdmodel.interactive.action.type.PDActionNamed
All Implemented Interfaces:
COSObjectable, PDDestinationOrAction

public class PDActionNamed extends PDAction
This represents a named action in a PDF document.
  • Field Details

  • Constructor Details

    • PDActionNamed

      public PDActionNamed()
      Default constructor.
    • PDActionNamed

      public PDActionNamed(COSDictionary a)
      Constructor.
      Parameters:
      a - The action dictionary.
  • Method Details

    • getCOSObject

      public COSBase getCOSObject()
      Convert this standard java object to a COS object.
      Specified by:
      getCOSObject in interface COSObjectable
      Overrides:
      getCOSObject in class PDAction
      Returns:
      The cos object that matches this Java object.
    • getCOSDictionary

      public COSDictionary getCOSDictionary()
      Convert this standard java object to a COS object.
      Overrides:
      getCOSDictionary in class PDAction
      Returns:
      The cos object that matches this Java object.
    • getN

      public String getN()
      This will get the name of the action to be performed.
      Returns:
      The name of the action to be performed.
    • setN

      public void setN(String name)
      This will set the name of the action to be performed.
      Parameters:
      name - The name of the action to be performed.