Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate

com.aspose.pdf.elements
Class HyperLinkToFile

java.lang.Object
  extended bycom.aspose.pdf.elements.PdfElementBase
      extended bycom.aspose.pdf.elements.HyperLink
          extended bycom.aspose.pdf.elements.HyperLinkToFile
All Implemented Interfaces:
java.lang.Cloneable

public class HyperLinkToFile
extends HyperLink

Represents a link in a Pdf document to another file(commonly none pdf file).


Constructor Summary
HyperLinkToFile(Segment segment, java.lang.String linkFileName)
          Initializes a new instance of the HyperlinkToFile class.
 
Method Summary
 java.lang.Object clone()
          Clone an object.
 org.w3c.dom.Element getDOMElement()
          Gets a DOM representation of the pdf element.
 java.lang.String getLinkFileName()
          Gets a string that indicates the link file name.
 void setLinkFileName(java.lang.String fileName)
          Sets a string that indicates the link file name.
 
Methods inherited from class com.aspose.pdf.elements.PdfElementBase
getElementFactory, getID, getNameIndex, setID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HyperLinkToFile

public HyperLinkToFile(Segment segment,
                       java.lang.String linkFileName)
Initializes a new instance of the HyperlinkToFile class.

Parameters:
segment - The segment that owns the hyperlink.
Method Detail

getLinkFileName

public java.lang.String getLinkFileName()
Gets a string that indicates the link file name.


setLinkFileName

public void setLinkFileName(java.lang.String fileName)
Sets a string that indicates the link file name.


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Description copied from class: PdfElementBase
Clone an object.

Overrides:
clone in class HyperLink
Throws:
java.lang.CloneNotSupportedException
See Also:
java.lang.Object#clone()

getDOMElement

public org.w3c.dom.Element getDOMElement()
                                  throws AsposeBaseException
Description copied from class: PdfElementBase
Gets a DOM representation of the pdf element.

Overrides:
getDOMElement in class HyperLink
Throws:
AsposeBaseException
See Also:
PdfElementBase.getDOMElement()