Top Description Constructors Methods
org.apache.pdfbox.pdmodel.interactive.action

public final Class PDActionFactory

extends Object
Class Inheritance
Imports
org.apache.pdfbox.cos.COSDictionary, .COSName

This class will take a dictionary and determine which type of action to create.
Author
Ben Litchfield

Constructor Summary

AccessConstructor and Description
private
PDActionFactory()

Utility Class.

Method Summary

Modifier and TypeMethod and Description
public static PDAction

Returns:

An action of the correct type.
createAction
(COSDictionary
An action dictionary.
action
)

This will create the correct type of action based on the type specified in the dictionary.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PDActionFactoryback to summary
private PDActionFactory()

Utility Class.

Method Detail

createActionback to summary
public static PDAction createAction(COSDictionary action)

This will create the correct type of action based on the type specified in the dictionary.

Parameters
action:COSDictionary

An action dictionary.

Returns:PDAction

An action of the correct type.