|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomNamespaceNode
com.gargoylesoftware.htmlunit.html.HtmlElement
com.gargoylesoftware.htmlunit.html.StyledElement
com.gargoylesoftware.htmlunit.html.ClickableElement
com.gargoylesoftware.htmlunit.html.FocusableElement
com.gargoylesoftware.htmlunit.html.HtmlAnchor
public class HtmlAnchor
Wrapper for the html element "a"
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 |
getAccessKeyAttribute()
Return the value of the attribute "accesskey". |
java.lang.String |
getCharsetAttribute()
Return the value of the attribute "charset". |
java.lang.String |
getCoordsAttribute()
Return the value of the attribute "coords". |
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 |
getNameAttribute()
Return the value of the attribute "name". |
java.lang.String |
getOnBlurAttribute()
Return the value of the attribute "onblur". |
java.lang.String |
getOnFocusAttribute()
Return the value of the attribute "onfocus". |
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 |
getShapeAttribute()
Return the value of the attribute "shape". |
java.lang.String |
getTabIndexAttribute()
Return the value of the attribute "tabindex". |
java.lang.String |
getTargetAttribute()
Return the value of the attribute "target". |
java.lang.String |
getTypeAttribute()
Return the value of the attribute "type". |
Page |
openLinkInNewWindow()
Open this link in a new window, much as web browsers do when you shift-click a link or use the context menu to open in a new window. |
Methods inherited from class com.gargoylesoftware.htmlunit.html.FocusableElement |
---|
blur, focus |
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.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 |
---|
public static final java.lang.String TAG_NAME
Method Detail |
---|
public final java.lang.String getAccessKeyAttribute()
public final java.lang.String getCharsetAttribute()
public final java.lang.String getCoordsAttribute()
public final java.lang.String getHrefAttribute()
public final java.lang.String getHrefLangAttribute()
public final java.lang.String getNameAttribute()
public final java.lang.String getOnBlurAttribute()
public final java.lang.String getOnFocusAttribute()
public final java.lang.String getRelAttribute()
public final java.lang.String getRevAttribute()
public final java.lang.String getShapeAttribute()
public final java.lang.String getTabIndexAttribute()
public final java.lang.String getTargetAttribute()
public final java.lang.String getTypeAttribute()
public final Page openLinkInNewWindow() throws java.net.MalformedURLException
java.net.MalformedURLException
- if the href could not be converted to
a valid URL
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |