it.sauronsoftware.grab4j.html
Class HTMLLink

java.lang.Object
  extended by it.sauronsoftware.grab4j.html.HTMLElement
      extended by it.sauronsoftware.grab4j.html.HTMLTag
          extended by it.sauronsoftware.grab4j.html.HTMLLink

public class HTMLLink
extends HTMLTag

This class represents the HTML link tags ("a" tags).

Author:
Carlo Pelliccia

Method Summary
 java.lang.String getLinkURL()
          This method extracts and returns the link URL.
 
Methods inherited from class it.sauronsoftware.grab4j.html.HTMLTag
getAttribute, getInnerHTML, getInnerText, getOuterHTML, getTagName, isEmpty, toString
 
Methods inherited from class it.sauronsoftware.grab4j.html.HTMLElement
getDocument, getElement, getElementById, getElementCount, getElements, getElementsByAttribute, getElementsByTag, getNextElement, getParentElement, getPreviousElement, searchElement, searchElement, searchElements, searchElements
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLinkURL

public java.lang.String getLinkURL()
This method extracts and returns the link URL.

Returns:
The link URL, turned to an absolute URL if possibile.