java.lang.Object
org.sejda.sambox.pdmodel.PDDocumentNameDestinationDictionary
- All Implemented Interfaces:
COSObjectable
This encapsulates the "dictionary of names and corresponding destinations" for the /Desta entry in the document
catalog.
- Author:
- Tilman Hausherr
-
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.
-
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:
getCOSObjectin 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.
-