com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox
Class PDFBoxPDFLink

java.lang.Object
  extended by com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox.PDFBoxPDFLink
All Implemented Interfaces:
PDFLink

public class PDFBoxPDFLink
extends Object
implements PDFLink

Implementation of PDFLink based on PDFBox.

Author:
Etienne Studer, Marc Guillemot

Constructor Summary
PDFBoxPDFLink(String text, String href, int page)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHref()
           
 int getPage()
           
 String getText()
           
 int hashCode()
           
 String toString()
          Returns information for debug purpose
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PDFBoxPDFLink

public PDFBoxPDFLink(String text,
                     String href,
                     int page)
Method Detail

getHref

public String getHref()
Specified by:
getHref in interface PDFLink

getPage

public int getPage()
Specified by:
getPage in interface PDFLink

getText

public String getText()
Specified by:
getText in interface PDFLink

toString

public String toString()
Returns information for debug purpose

Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.