com.gargoylesoftware.htmlunit.html
Class HtmlLink

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.html.DomNode
      extended by com.gargoylesoftware.htmlunit.html.DomNamespaceNode
          extended by com.gargoylesoftware.htmlunit.html.HtmlElement
              extended by com.gargoylesoftware.htmlunit.html.StyledElement
                  extended by com.gargoylesoftware.htmlunit.html.ClickableElement
                      extended by com.gargoylesoftware.htmlunit.html.HtmlLink
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class HtmlLink
extends ClickableElement

Wrapper for the html element "link". Note: This is not a clickable link, that one is an HtmlAnchor

Version:
$Revision: 1.3 $
Author:
Mike Bowler, David K. Taylor, Christian Sell, Ahmed Ashour
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement
HtmlElement.MapEntryWrappingIterator
 
Field Summary
static java.lang.String TAG_NAME
 the HTML tag represented by this element
 
Fields inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement
ATTRIBUTE_NOT_DEFINED, ATTRIBUTE_VALUE_EMPTY
 
Fields inherited from class com.gargoylesoftware.htmlunit.html.DomNode
PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED
 
Method Summary
 java.lang.String getCharsetAttribute()
 Return the value of the attribute "charset".
 java.lang.String getHrefAttribute()
 Return the value of the attribute "href".
 java.lang.String getHrefLangAttribute()
 Return the value of the attribute "hreflang".
 java.lang.String getMediaAttribute()
 Return the value of the attribute "media".
 java.lang.String getRelAttribute()
 Return the value of the attribute "rel".
 java.lang.String getRevAttribute()
 Return the value of the attribute "rev".
 java.lang.String getTargetAttribute()
 Return the value of the attribute "target".
 java.lang.String getTypeAttribute()
 Return the value of the attribute "type".
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.ClickableElement
click, click, dblClick, dblClick, getLangAttribute, getOnClickAttribute, getOnDblClickAttribute, getOnKeyDownAttribute, getOnKeyPressAttribute, getOnKeyUpAttribute, getOnMouseDownAttribute, getOnMouseMoveAttribute, getOnMouseOutAttribute, getOnMouseOverAttribute, getOnMouseUpAttribute, getTextDirectionAttribute, getXmlLangAttribute
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.StyledElement
getClassAttribute, getIdAttribute, getStyleAttribute, getTitleAttribute
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement
addHtmlAttributeChangeListener, appendChildIfNoneExists, cloneDomNode, fireEvent, fireEvent, getAttributeEntriesIterator, getAttributeValue, getChildElementsIterator, getEnclosingElement, getEnclosingForm, getEnclosingFormOrDie, getEventHandler, getHtmlElementById, getHtmlElementsByAttribute, getHtmlElementsByTagName, getHtmlElementsByTagNames, getId, getNodeName, getNodeType, getOneHtmlElementByAttribute, getTagName, hasHtmlElementWithId, isAttributeDefined, keyDown, keyDown, mouseDown, mouseDown, mouseMove, mouseMove, mouseOut, mouseOut, mouseOver, mouseOver, mouseUp, mouseUp, removeAttribute, removeChild, removeEventHandler, removeHtmlAttributeChangeListener, rightClick, rightClick, setAttributeValue, setEventHandler, setEventHandler, setId, toString
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNamespaceNode
getLocalName, getNamespaceURI, getPrefix, getQualifiedName, setPrefix
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNode
addDomChangeListener, appendDomChild, asText, asXml, getAllHtmlChildElements, getByXPath, getChildIterator, getEndColumnNumber, getEndLineNumber, getFirstDomChild, getLastDomChild, getNextDomSibling, getNodeValue, getPage, getParentDomNode, getPreviousDomSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, insertBefore, remove, removeAllChildren, removeDomChangeListener, replace, setNodeValue, setReadyState, setScriptObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
the HTML tag represented by this element

See Also:
Constant Field Values
Method Detail

getCharsetAttribute

public final java.lang.String getCharsetAttribute()
Return the value of the attribute "charset". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "charset" or an empty string if that attribute isn't defined.

getHrefAttribute

public final java.lang.String getHrefAttribute()
Return the value of the attribute "href". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "href" or an empty string if that attribute isn't defined.

getHrefLangAttribute

public final java.lang.String getHrefLangAttribute()
Return the value of the attribute "hreflang". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "hreflang" or an empty string if that attribute isn't defined.

getMediaAttribute

public final java.lang.String getMediaAttribute()
Return the value of the attribute "media". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "media" or an empty string if that attribute isn't defined.

getRelAttribute

public final java.lang.String getRelAttribute()
Return the value of the attribute "rel". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "rel" or an empty string if that attribute isn't defined.

getRevAttribute

public final java.lang.String getRevAttribute()
Return the value of the attribute "rev". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "rev" or an empty string if that attribute isn't defined.

getTargetAttribute

public final java.lang.String getTargetAttribute()
Return the value of the attribute "target". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "target" or an empty string if that attribute isn't defined.

getTypeAttribute

public final java.lang.String getTypeAttribute()
Return the value of the attribute "type". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "type" or an empty string if that attribute isn't defined.


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.