org.apache.fop.pdf
Class PDFInternalLink

org.apache.fop.pdf.PDFObject
  |
  +--org.apache.fop.pdf.PDFAction
        |
        +--org.apache.fop.pdf.PDFInternalLink

public class PDFInternalLink
extends PDFAction

class used to create a PDF internal link


Field Summary
 (package private) StringgoToReference
           

Constructor Summary
PDFInternalLink(String goToReference)
          create an internal link instance.

Method Summary
 StringgetAction()
          returns the action ncecessary for an internal link
 byte[]toPDF()
          there is nothing to return for the toPDF method, as it should not be called

Methods inherited from class org.apache.fop.pdf.PDFObject
getNumber, referencePDF

Field Detail

goToReference

String goToReference
Constructor Detail

PDFInternalLink

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

getAction

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

toPDF

public byte[] toPDF()
there is nothing to return for the toPDF method, as it should not be called
Returns: an empty string

Association Links

to Class java.lang.String