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() -
|
protected int | output(OutputStream stream) -
|
void | setGoToReference(Object goToReference) - Sets the GoToReference in the associated DestinationData object.
|
void | setGoToReference(String goToReference) - use setGoToReference(Object) instead
|
encode , encodeBinaryToHexString , encodeString , encodeText , formatDateTime , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , getParent , hasObjectNumber , makeReference , output , outputInline , referencePDF , setDocument , setObjectNumber , setParent , 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()
output
protected int output(OutputStream stream)
throws IOException
- output in interface PDFObject
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.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.