public class PDFDestination extends PDFObject
Constructor and Description |
---|
PDFDestination(String idRef,
Object goToRef)
Create a named destination
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Check if this equals another object.
|
Object |
getGoToReference()
Returns the GoToReference from the associated DestinationData object.
|
String |
getIDRef()
Returns the RefID from the associated DestinationData object.
|
int |
hashCode() |
int |
output(OutputStream stream)
Write the PDF represention of this object
|
void |
setGoToReference(Object goToReference)
Sets the GoToReference in the associated DestinationData object.
|
void |
setGoToReference(String goToReference)
Deprecated.
use setGoToReference(Object) instead
|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getChildren, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, supportsObjectStream, toPDF, toPDFString
public int output(OutputStream stream) throws IOException
PDFObject
output
in class PDFObject
stream
- the stream to write the PDF toIOException
- if there is an error writing to the stream@Deprecated public void setGoToReference(String goToReference)
goToReference
- the reference to set in the associated DestinationData object.public void setGoToReference(Object goToReference)
goToReference
- the reference to set in the associated DestinationData object.public Object getGoToReference()
public String getIDRef()
public boolean equals(Object obj)
Copyright © 2025 Apache Software Foundation. All rights reserved.