Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate

com.aspose.pdf.elements
Class HyperLink

java.lang.Object
  extended bycom.aspose.pdf.elements.PdfElementBase
      extended bycom.aspose.pdf.elements.HyperLink
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
HyperLinkToFile, HyperLinkToLocalPdf, HyperLinkToOuterPdf, HyperLinkToWeb

public abstract class HyperLink
extends PdfElementBase

Represents a link in a Pdf document.

See Also:
,HyperLinkToWeb, HyperLinkToFile, HyperLinkToOuterPdf, HyperLinkToLocalPdf

Constructor Summary
HyperLink(Segment segment)
          Initializes a new instance of the Hyperlink class.
 
Method Summary
 java.lang.Object clone()
          Clone an object.
 org.w3c.dom.Element getDOMElement()
          Gets a DOM representation of the pdf element.
 
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

HyperLink

public HyperLink(Segment segment)
Initializes a new instance of the Hyperlink class.

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

clone

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

Overrides:
clone in class PdfElementBase
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 PdfElementBase
Throws:
AsposeBaseException
See Also:
PdfElementBase.getDOMElement()