org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination
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 Object
- implements PDDestinationOrAction
This represents a destination in a PDF document.
- Version:
- $Revision: 1.6 $
- Author:
- Ben Litchfield
Method Summary |
static PDDestination |
create(COSBase base)
This will create a new destination depending on the type of COSBase
that is passed in. |
String |
toString()
Return a string representation of this class. |
PDDestination
public PDDestination()
create
public static PDDestination create(COSBase base)
throws 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:
IOException
- If the base cannot be converted to a Destination.
toString
public String toString()
- Return a string representation of this class.
- Overrides:
toString
in class Object
- Returns:
- A human readable string.
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.