Class PDActionFactory
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.action.PDActionFactory
This class will take a dictionary and determine which type of action to create.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PDAction
createAction
(COSDictionary action) This will create the correct type of action based on the type specified in the dictionary.
-
Constructor Details
-
PDActionFactory
private PDActionFactory()Utility Class.
-
-
Method Details
-
createAction
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.
-