Module org.sejda.sambox
Class PDDestination
java.lang.Object
org.sejda.sambox.pdmodel.interactive.documentnavigation.destination.PDDestination
- All Implemented Interfaces:
COSObjectable,PDDestinationOrAction
- Direct Known Subclasses:
PDNamedDestination,PDPageDestination
This represents a destination in a PDF document.
- Author:
- Ben Litchfield
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PDDestinationThis will create a new destination depending on the type of COSBase that is passed in.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sejda.sambox.cos.COSObjectable
getCOSObject
-
Constructor Details
-
PDDestination
public PDDestination()
-
-
Method Details
-
create
This will create a new destination depending on the type of COSBase that is passed in.- Parameters:
base- The base level object.- Returns:
- A new destination.
- Throws:
IOException- If the base cannot be converted to a Destination.
-