COSObjectable
public class PDDocumentNameDestinationDictionary extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
PDDocumentNameDestinationDictionary(COSDictionary dict) |
Constructor.
|
Modifier and Type | Method | 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.
|
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.