Package org.loboevolution.html.dom
Interface HTMLLinkElement
- All Superinterfaces:
Element
,EventTarget
,HTMLElement
,InnerHTML
,Node
,NonDocumentTypeChildNode
,ParentNode
- All Known Implementing Classes:
HTMLLinkElementImpl
Reference information for external resources and the relationship of those
resources to a document and vice-versa. This object inherits all of the
properties and methods of the HTMLElement interface.
-
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 TypeMethodDescriptiongetAs()
getAs.Deprecated.getCrossOrigin.getHref()
Sets or retrieves a destination URL or an anchor point.Sets or retrieves the language code of the object.getImageSizes.getImageSrcset.getIntegrity.getMedia()
Sets or retrieves the media type.getReferrerPolicy.getRel()
Sets or retrieves the relationship between the object and the destination of the link.getRelList.getRev()
Deprecated.getSheet()
getSheet().getSizes()
getSizes.Deprecated.getType()
Sets or retrieves the MIME type of the object.boolean
isDisabled.void
setAs.void
setCharset
(String charset) setCharset.void
setCrossOrigin
(String crossOrigin) setCrossOrigin.void
setDisabled
(boolean disabled) setDisabled.void
setHref.void
setHreflang
(String hreflang) setHreflang.void
setImageSizes
(String imageSizes) setImageSizes.void
setImageSrcset
(String imageSrcset) setImageSrcset.void
setIntegrity
(String integrity) setIntegrity.void
setMedia.void
setReferrerPolicy
(String referrerPolicy) setReferrerPolicy.void
setRel.void
setRev.void
setTarget.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.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
-
getAs
String getAs()getAs.
- Returns:
- a
String
object.
-
setAs
setAs.
- Parameters:
as
- aString
object.
-
getCharset
Deprecated.Sets or retrieves the character set used to encode the object.- Returns:
- a
String
object.
-
setCharset
setCharset.
- Parameters:
charset
- aString
object.
-
getCrossOrigin
String getCrossOrigin()getCrossOrigin.
- Returns:
- a
String
object.
-
setCrossOrigin
setCrossOrigin.
- Parameters:
crossOrigin
- aString
object.
-
isDisabled
boolean isDisabled()isDisabled.
- Returns:
- a boolean.
-
setDisabled
void setDisabled(boolean disabled) setDisabled.
- Parameters:
disabled
- a boolean.
-
getHref
String getHref()Sets or retrieves a destination URL or an anchor point.- Returns:
- a
String
object.
-
setHref
setHref.
- Parameters:
href
- aString
object.
-
getHreflang
String getHreflang()Sets or retrieves the language code of the object.- Returns:
- a
String
object.
-
setHreflang
setHreflang.
- Parameters:
hreflang
- aString
object.
-
getImageSizes
String getImageSizes()getImageSizes.
- Returns:
- a
String
object.
-
setImageSizes
setImageSizes.
- Parameters:
imageSizes
- aString
object.
-
getImageSrcset
String getImageSrcset()getImageSrcset.
- Returns:
- a
String
object.
-
setImageSrcset
setImageSrcset.
- Parameters:
imageSrcset
- aString
object.
-
getIntegrity
String getIntegrity()getIntegrity.
- Returns:
- a
String
object.
-
setIntegrity
setIntegrity.
- Parameters:
integrity
- aString
object.
-
getMedia
String getMedia()Sets or retrieves the media type.- Returns:
- a
String
object.
-
setMedia
setMedia.
- Parameters:
media
- 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
setRev.
- Parameters:
rev
- aString
object.
-
getSizes
DOMTokenList getSizes()getSizes.
- Returns:
- a
DOMTokenList
object.
-
getTarget
Deprecated.Sets or retrieves the window or frame at which to target content.- Returns:
- a
String
object.
-
setTarget
setTarget.
- Parameters:
target
- aString
object.
-
getType
String getType()Sets or retrieves the MIME type of the object.- Returns:
- a
String
object.
-
setType
setType.
- Parameters:
type
- aString
object.
-
getSheet
StyleSheet getSheet()getSheet().- Returns:
- a
StyleSheet
object.
-