public final class Destination
extends java.lang.Object
| Constructor and Description |
|---|
Destination(PdfObject destObj,
PdfModule module,
boolean named)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PdfSimpleObject |
getIndirectDest()
Returns the string naming the indirect destination.
|
PdfDictionary |
getPageDest()
Returns the page object dictionary if the destination
is direct.
|
int |
getPageDestObjNumber()
Returns the object number of the page object dictionary
if the destination is direct.
|
boolean |
isIndirect()
Returns
true if the destination is indirect. |
public Destination(PdfObject destObj, PdfModule module, boolean named) throws PdfException
destObj - The destination objectmodule - The invoking PdfModulenamed - Flag indicating whether this object came
from a named destination.PdfExceptionpublic boolean isIndirect()
true if the destination is indirect.public PdfSimpleObject getIndirectDest()
public PdfDictionary getPageDest()
public int getPageDestObjNumber()
throws java.lang.NullPointerException
java.lang.NullPointerException