Package org.loboevolution.html.dom
Interface HTMLAnchorElement
- All Superinterfaces:
Element,EventTarget,HTMLElement,HTMLHyperlinkElementUtils,InnerHTML,ModelNode,Node,NonDocumentTypeChildNode,ParentNode
- All Known Implementing Classes:
HTMLAnchorElementImpl
Hyperlink elements and provides special properties
and methods (beyond those of the regular HTMLElement object interface that they inherit from)
for manipulating the layout and presentation of such elements.
-
Field Summary
Fields inherited from interface org.loboevolution.html.node.Node
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, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getDownload.Sets or retrieves the language code of the object.getName()Deprecated.getPing()getPing.getReferrerPolicy.getRel()Sets or retrieves the relationship between the object and the destination of the link.getRelList.getRev()Deprecated.getShape()Deprecated.Sets or retrieves the window or frame at which to target content.getText()Retrieves or sets the text of the object as a string.getType()getType.voidsetCharset(String charset) Deprecated.voidDeprecated.voidsetDownload(String download) setDownload.voidsetHreflang(String hreflang) setHreflang.voidDeprecated.voidsetPing.voidsetReferrerPolicy(String referrerPolicy) setReferrerPolicy.voidsetRel.voidDeprecated.voidDeprecated.voidsetTarget.voidsetText.voidsetType.Methods inherited from interface org.loboevolution.html.node.Element
closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getId, getInnerHTML, getLocalName, getNamespaceURI, getOuterHTML, getPrefix, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, matches, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, toggleAttribute, toggleAttributeMethods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListenerMethods inherited from interface org.loboevolution.html.dom.HTMLElement
click, getAccessKey, getAccessKeyLabel, getAutocapitalize, getContentEditable, getCurrentStyle, getDir, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getStyle, getTitle, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setContentEditable, setDir, setDraggable, setHidden, setInnerText, setLang, setSpellcheck, setTitle, setTranslateMethods inherited from interface org.loboevolution.html.dom.HTMLHyperlinkElementUtils
getHash, getHost, getHostname, getHref, getOrigin, getPassword, getPathname, getPort, getProtocol, getSearch, getUsername, setHash, setHost, setHostname, setHref, setPassword, setPathname, setPort, setProtocol, setSearch, setUsernameMethods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTMLMethods inherited from interface org.loboevolution.html.node.ModelNode
getDocumentItem, getFullURL, getParentModelNode, getRenderState, isEqualOrDescendentOf, setDocumentItem, warnMethods inherited from interface org.loboevolution.html.node.Node
appendChild, appendChildrenToCollectionImpl, cloneNode, cloneNode, compareDocumentPosition, contains, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAttributes, getBaseURI, getChildNodes, getDocumentNode, getFeature, getFirstChild, getLastChild, getNextSibling, getNextTo, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getPreviousTo, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNamespaceURI, setNodeValue, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUserData, visitMethods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSiblingMethods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAll
-
Method Details
-
getCharset
Deprecated.Sets or retrieves the character set used to encode the object.- Returns:
- a
Stringobject.
-
setCharset
Deprecated.setCharset.
- Parameters:
charset- aStringobject.
-
getCoords
Deprecated.Sets or retrieves the coordinates of the object.- Returns:
- a
Stringobject.
-
setCoords
Deprecated.setCoords.
- Parameters:
coords- aStringobject.
-
getDownload
String getDownload()getDownload.
- Returns:
- a
Stringobject.
-
setDownload
setDownload.
- Parameters:
download- aStringobject.
-
getHreflang
String getHreflang()Sets or retrieves the language code of the object.- Returns:
- a
Stringobject.
-
setHreflang
setHreflang.
- Parameters:
hreflang- aStringobject.
-
getName
Deprecated.Sets or retrieves the shape of the object.- Returns:
- a
Stringobject.
-
setName
Deprecated.setName.
- Parameters:
name- aStringobject.
-
getPing
String getPing()getPing.
- Returns:
- a
Stringobject.
-
setPing
setPing.
- Parameters:
ping- aStringobject.
-
getReferrerPolicy
String getReferrerPolicy()getReferrerPolicy.
- Returns:
- a
Stringobject.
-
setReferrerPolicy
setReferrerPolicy.
- Parameters:
referrerPolicy- aStringobject.
-
getRel
String getRel()Sets or retrieves the relationship between the object and the destination of the link.- Returns:
- a
Stringobject.
-
setRel
setRel.
- Parameters:
rel- aStringobject.
-
getRelList
DOMTokenList getRelList()getRelList.
- Returns:
- a
DOMTokenListobject.
-
getRev
Deprecated.Sets or retrieves the relationship between the object and the destination of the link.- Returns:
- a
Stringobject.
-
setRev
Deprecated.setRev.
- Parameters:
rev- aStringobject.
-
getShape
Deprecated.Sets or retrieves the shape of the object.- Returns:
- a
Stringobject.
-
setShape
Deprecated.setShape.
- Parameters:
shape- aStringobject.
-
getTarget
String getTarget()Sets or retrieves the window or frame at which to target content.- Returns:
- a
Stringobject.
-
setTarget
setTarget.
- Parameters:
target- aStringobject.
-
getText
String getText()Retrieves or sets the text of the object as a string.- Returns:
- a
Stringobject.
-
setText
setText.
- Parameters:
text- aStringobject.
-
getType
String getType()getType.
- Returns:
- a
Stringobject.
-
setType
setType.
- Parameters:
type- aStringobject.
-