public class PDDocumentNameDestinationDictionary extends java.lang.Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
private COSDictionary |
nameDictionary |
Constructor and Description |
---|
PDDocumentNameDestinationDictionary(COSDictionary dict)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
PDDestination |
getDestination(java.lang.String name)
Returns the destination corresponding to the parameter.
|
private final COSDictionary nameDictionary
public PDDocumentNameDestinationDictionary(COSDictionary dict)
dict
- The dictionary of names and corresponding destinations.public COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public PDDestination getDestination(java.lang.String name) throws java.io.IOException
name
- The destination name.java.io.IOException
- if something goes wrong when creating the destination object.