org.foray.pdf.object
Class PDFUri

java.lang.Object
  extended by org.foray.pdf.object.PDFObject
      extended by org.foray.pdf.object.PDFAction
          extended by org.foray.pdf.object.PDFUri

public class PDFUri
extends PDFAction

A PDF Uri link.


Field Summary
 
Fields inherited from class org.foray.pdf.object.PDFObject
EOL, MSG_EOL, XREF_EOL
 
Constructor Summary
PDFUri(String uri)
          Create a Uri instance.
 
Method Summary
 String getAction()
          Returns the action necessary for a uri.
 String toPDF()
          There is nothing to return for the toPDF method, as it should not be called.
 
Methods inherited from class org.foray.pdf.object.PDFObject
bufferToByteArray, byteArrayToStream, getCharsPerLine, getGeneration, getLogger, getNumber, getPDFDocument, output, pdfID, pdfReference, setNumber, stringToByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFUri

public PDFUri(String uri)
Create a Uri instance.

Parameters:
uri - The uri to which the link should point.
Method Detail

getAction

public String getAction()
Returns the action necessary for a uri.

Specified by:
getAction in class PDFAction
Returns:
the action to place next to /A within a Link

toPDF

public String toPDF()
There is nothing to return for the toPDF method, as it should not be called.

Returns:
an empty string


Copyright © 2017. All rights reserved.