org.apache.fop.pdf

Class PDFInternalLink

Implemented Interfaces:
PDFWritable

public class PDFInternalLink
extends PDFAction

class used to create a PDF internal link

Field Summary

Fields inherited from class org.apache.fop.pdf.PDFObject

DATE_FORMAT, log

Constructor Summary

PDFInternalLink(String goToReference)
create an internal link instance.

Method Summary

String
getAction()
returns the action ncecessary for an internal link
protected String
toPDFString()

Methods inherited from class org.apache.fop.pdf.PDFAction

getAction

Methods inherited from class org.apache.fop.pdf.PDFObject

encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF, toPDFString

Constructor Details

PDFInternalLink

public PDFInternalLink(String goToReference)
create an internal link instance.
Parameters:
goToReference - the GoTo Reference to which the link should point

Method Details

getAction

public String getAction()
returns the action ncecessary for an internal link
Overrides:
getAction in interface PDFAction
Returns:
the action to place next to /A within a Link

toPDFString

protected String toPDFString()
Overrides:
toPDFString in interface PDFObject

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.