org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination
public class PDNamedDestination extends PDDestination
Constructor and Description |
---|
PDNamedDestination()
Default constructor.
|
PDNamedDestination(COSName dest)
Constructor.
|
PDNamedDestination(COSString dest)
Constructor.
|
PDNamedDestination(java.lang.String dest)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
getCOSObject()
Convert this standard java object to a COS object.
|
java.lang.String |
getNamedDestination()
This will get the name of the destination.
|
void |
setNamedDestination(java.lang.String dest)
Set the named destination.
|
create, toString
public PDNamedDestination(COSString dest)
dest
- The named destination.public PDNamedDestination(COSName dest)
dest
- The named destination.public PDNamedDestination()
public PDNamedDestination(java.lang.String dest)
dest
- The named destination.public COSBase getCOSObject()
public java.lang.String getNamedDestination()
public void setNamedDestination(java.lang.String dest) throws java.io.IOException
dest
- The new named destination.java.io.IOException
- If there is an error setting the named destination.