public interface AnchorElement extends Element
HTMLAnchorElement
) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of hyperlink elements.ALLOW_KEYBOARD_INPUT
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Modifier and Type | Method and Description |
---|---|
String |
getCharset()
The character encoding of the linked resource.
|
String |
getCoords()
Comma-separated list of coordinates.
|
String |
getDownload() |
String |
getHash()
The fragment identifier (including the leading hash mark (#)), if any, in the referenced URL.
|
String |
getHost()
The hostname and port (if it's not the default port) in the referenced URL.
|
String |
getHostname()
The hostname in the referenced URL.
|
String |
getHref()
Reflects the
href
HTML attribute, containing a valid URL of a linked resource. |
String |
getHreflang()
Reflects the
hreflang
HTML attribute, indicating the language of the linked resource. |
String |
getName()
Anchor name.
|
String |
getOrigin() |
String |
getPathname()
The path name component, if any, of the referenced URL.
|
String |
getPing() |
String |
getPort()
The port component, if any, of the referenced URL.
|
String |
getProtocol()
The protocol component (including trailing colon (:)), of the referenced URL.
|
String |
getRel()
Reflects the
rel
HTML attribute, specifying the relationship of the target object to the link object. |
String |
getRev()
Reverse link type.
|
String |
getSearch()
The search element (including leading question mark (?)), if any, of the referenced URL
|
String |
getShape()
The shape of the active area.
|
String |
getTarget()
Reflectst the
target
HTML attribute, indicating where to display the linked resource. |
String |
getText()
Same as the textContent property.
|
String |
getType()
Reflects the
type
HTML attribute, indicating the MIME type of the linked resource. |
void |
setCharset(String arg) |
void |
setCoords(String arg) |
void |
setDownload(String arg) |
void |
setHash(String arg) |
void |
setHost(String arg) |
void |
setHostname(String arg) |
void |
setHref(String arg) |
void |
setHreflang(String arg) |
void |
setName(String arg) |
void |
setPathname(String arg) |
void |
setPing(String arg) |
void |
setPort(String arg) |
void |
setProtocol(String arg) |
void |
setRel(String arg) |
void |
setRev(String arg) |
void |
setSearch(String arg) |
void |
setShape(String arg) |
void |
setTarget(String arg) |
void |
setType(String arg) |
blur, click, focus, getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getChildElementCount, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getDataset, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerText, getLang, getLastElementChild, getNextElementSibling, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnerror, getOnfocus, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnselect, getOnselectstart, getOnsubmit, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getOuterText, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTabIndex, getTagName, getTitle, getWebkitdropzone, getWebkitRegionOverflow, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, isDraggable, isHidden, isSpellcheck, isTranslate, querySelector, querySelectorAll, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerHTML, setInnerText, setLang, setOnabort, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnfocus, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnselect, setOnselectstart, setOnsubmit, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setOuterText, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent
void setCharset(String arg)
void setCoords(String arg)
String getDownload()
void setDownload(String arg)
String getHash()
void setHash(String arg)
String getHost()
void setHost(String arg)
String getHostname()
void setHostname(String arg)
String getHref()
href
HTML attribute, containing a valid URL of a linked resource.void setHref(String arg)
String getHreflang()
hreflang
HTML attribute, indicating the language of the linked resource.void setHreflang(String arg)
void setName(String arg)
String getOrigin()
String getPathname()
void setPathname(String arg)
String getPing()
void setPing(String arg)
String getPort()
void setPort(String arg)
String getProtocol()
void setProtocol(String arg)
String getRel()
rel
HTML attribute, specifying the relationship of the target object to the link object.void setRel(String arg)
void setRev(String arg)
String getSearch()
void setSearch(String arg)
void setShape(String arg)
String getTarget()
target
HTML attribute, indicating where to display the linked resource.void setTarget(String arg)
String getText()
String getType()
type
HTML attribute, indicating the MIME type of the linked resource.void setType(String arg)
Copyright © 2016. All rights reserved.