org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination
Class PDDestination

java.lang.Object
  extended by 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

Constructor Summary
PDDestination()
           
 
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.
 
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
 

Constructor Detail

PDDestination

public PDDestination()
Method Detail

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.