org.apache.fop.pdf
Class PDFDestination
- PDFWritable
public class PDFDestination
class representing a named destination
PDFDestination(String idRef, Object goToRef)- Create a named destination
|
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()
|
void | setGoToReference(Object goToReference)- Sets the GoToReference in the associated DestinationData object.
|
void | setGoToReference(String goToReference)- use setGoToReference(Object) instead
|
String | toKeyValuePair()- Creates the key/value pair for this destination entry for the name tree.
|
protected String | toPDFString()
|
encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF, toPDFString |
PDFDestination
public PDFDestination(String idRef,
Object goToRef) Create a named destination
idRef - ID Reference for this destination (the name of the destination)goToRef - Object reference to the GoTo Action
equals
public boolean equals(Object obj)
Check if this equals another object.
obj - the object to compare
- true if this equals other object
getGoToReference
public Object getGoToReference()
Returns the GoToReference from the associated DestinationData object.
- the GoToReference from the associated DestinationData object.
getIDRef
public String getIDRef()
Returns the RefID from the associated DestinationData object.
- the RefID from the associated DestinationData object.
hashCode
public int hashCode()
java.lang.Object.hashCode()
setGoToReference
public void setGoToReference(Object goToReference)
Sets the GoToReference in the associated DestinationData object.
goToReference - the reference to set in the associated DestinationData object.
setGoToReference
public void setGoToReference(String goToReference)
use setGoToReference(Object) instead
Sets the GoToReference in the associated DestinationData object.
goToReference - the reference to set in the associated DestinationData object.
toKeyValuePair
public String toKeyValuePair()
Creates the key/value pair for this destination entry for the name tree.
- the formatted key/value pair
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.