Package org.loboevolution.html.dom
Interface HTMLAnchorElement
- All Superinterfaces:
Element
,EventTarget
,HTMLElement
,HTMLHyperlinkElementUtils
,InnerHTML
,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.void
setCharset
(String charset) Deprecated.void
Deprecated.void
setDownload
(String download) setDownload.void
setHreflang
(String hreflang) setHreflang.void
Deprecated.void
setPing.void
setReferrerPolicy
(String referrerPolicy) setReferrerPolicy.void
setRel.void
Deprecated.void
Deprecated.void
setTarget.void
setText.void
setType.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, toggleAttribute
Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.html.dom.HTMLElement
click, getAccessKey, getAccessKeyLabel, getAutocapitalize, getContentEditable, getDir, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getTitle, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setContentEditable, setDir, setDraggable, setHidden, setInnerText, setLang, setSpellcheck, setTitle, setTranslate
Methods 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, setUsername
Methods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTML
Methods inherited from interface org.loboevolution.html.node.Node
appendChild, cloneNode, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
Methods 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
String
object.
-
setCharset
Deprecated.setCharset.
- Parameters:
charset
- aString
object.
-
getCoords
Deprecated.Sets or retrieves the coordinates of the object.- Returns:
- a
String
object.
-
setCoords
Deprecated.setCoords.
- Parameters:
coords
- aString
object.
-
getDownload
String getDownload()getDownload.
- Returns:
- a
String
object.
-
setDownload
setDownload.
- Parameters:
download
- aString
object.
-
getHreflang
String getHreflang()Sets or retrieves the language code of the object.- Returns:
- a
String
object.
-
setHreflang
setHreflang.
- Parameters:
hreflang
- aString
object.
-
getName
Deprecated.Sets or retrieves the shape of the object.- Returns:
- a
String
object.
-
setName
Deprecated.setName.
- Parameters:
name
- aString
object.
-
getPing
String getPing()getPing.
- Returns:
- a
String
object.
-
setPing
setPing.
- Parameters:
ping
- aString
object.
-
getReferrerPolicy
String getReferrerPolicy()getReferrerPolicy.
- Returns:
- a
String
object.
-
setReferrerPolicy
setReferrerPolicy.
- Parameters:
referrerPolicy
- aString
object.
-
getRel
String getRel()Sets or retrieves the relationship between the object and the destination of the link.- Returns:
- a
String
object.
-
setRel
setRel.
- Parameters:
rel
- aString
object.
-
getRelList
DOMTokenList getRelList()getRelList.
- Returns:
- a
DOMTokenList
object.
-
getRev
Deprecated.Sets or retrieves the relationship between the object and the destination of the link.- Returns:
- a
String
object.
-
setRev
Deprecated.setRev.
- Parameters:
rev
- aString
object.
-
getShape
Deprecated.Sets or retrieves the shape of the object.- Returns:
- a
String
object.
-
setShape
Deprecated.setShape.
- Parameters:
shape
- aString
object.
-
getTarget
String getTarget()Sets or retrieves the window or frame at which to target content.- Returns:
- a
String
object.
-
setTarget
setTarget.
- Parameters:
target
- aString
object.
-
getText
String getText()Retrieves or sets the text of the object as a string.- Returns:
- a
String
object.
-
setText
setText.
- Parameters:
text
- aString
object.
-
getType
String getType()getType.
- Returns:
- a
String
object.
-
setType
setType.
- Parameters:
type
- aString
object.
-