org.apache.fop.pdf

Class PDFUri

Implemented Interfaces:
PDFWritable

public class PDFUri
extends PDFAction

class used to create a PDF Uri link

Field Summary

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

DATE_FORMAT, log

Constructor Summary

PDFUri(String uri)
create a Uri instance.

Method Summary

String
getAction()
returns the action ncecessary for a uri
String
toPDFString()

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

getAction

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

encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString

Constructor Details

PDFUri

public PDFUri(String uri)
create a Uri instance.
Parameters:
uri - the uri to which the link should point

Method Details

getAction

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

toPDFString

public String toPDFString()
Overrides:
toPDFString in interface PDFObject

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