Class PDDestination
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination
-
- All Implemented Interfaces:
COSObjectable
,PDDestinationOrAction
- Direct Known Subclasses:
PDNamedDestination
,PDPageDestination
public abstract class PDDestination extends java.lang.Object implements PDDestinationOrAction
This represents a destination in a PDF document.- Version:
- $Revision: 1.6 $
- Author:
- Ben Litchfield
-
-
Constructor Summary
Constructors Constructor Description PDDestination()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PDDestination
create(COSBase base)
This will create a new destination depending on the type of COSBase that is passed in.java.lang.String
toString()
Return a string representation of this class.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.pdfbox.pdmodel.common.COSObjectable
getCOSObject
-
-
-
-
Method Detail
-
create
public static PDDestination create(COSBase base) throws java.io.IOException
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:
java.io.IOException
- If the base cannot be converted to a Destination.
-
toString
public java.lang.String toString()
Return a string representation of this class.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A human readable string.
-
-