Package org.apache.pdfbox.pdmodel
Class PDDocumentNameDestinationDictionary
java.lang.Object
org.apache.pdfbox.pdmodel.PDDocumentNameDestinationDictionary
- All Implemented Interfaces:
COSObjectable
This encapsulates the "dictionary of names and corresponding destinations" for the /Dests entry
in the document catalog.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert this standard java object to a COS object.getDestination
(String name) Returns the destination corresponding to the parameter.
-
Field Details
-
nameDictionary
-
-
Constructor Details
-
PDDocumentNameDestinationDictionary
Constructor.- Parameters:
dict
- The dictionary of names and corresponding destinations.
-
-
Method Details
-
getCOSObject
Convert this standard java object to a COS object.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Returns:
- The cos dictionary for this object.
-
getDestination
Returns the destination corresponding to the parameter.- Parameters:
name
- The destination name.- Returns:
- The destination for that name, or null if there isn't any.
- Throws:
IOException
- if something goes wrong when creating the destination object.
-