All Packages Class Hierarchy This Package Previous Next Index
Interface org.w3c.dom.html.HTMLLinkElement
- public interface HTMLLinkElement
- extends HTMLElement
The LINK element specifies a link to an external
resource, and defines this document's relationship to that resource
(or vice versa). See the LINK element definition in HTML 4.0.
-
getCharset()
- The character encoding of the resource being linked to.
-
getDisabled()
- Enables/disables the link.
-
getHref()
- The URI of the linked resource.
-
getHreflang()
- Language code of the linked resource.
-
getMedia()
- Designed for use with one or more target media.
-
getRel()
- Forward link type.
-
getRev()
- Reverse link type.
-
getTarget()
- Frame to render the resource in.
-
getType()
- Advisory content type.
-
setCharset(String)
-
-
setDisabled(boolean)
-
-
setHref(String)
-
-
setHreflang(String)
-
-
setMedia(String)
-
-
setRel(String)
-
-
setRev(String)
-
-
setTarget(String)
-
-
setType(String)
-
getDisabled
public abstract boolean getDisabled()
- Enables/disables the link. This is currently only used for style sheet
links, and may be used to activate or deactivate style sheets.
setDisabled
public abstract void setDisabled(boolean disabled)
getCharset
public abstract String getCharset()
- The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.0.
setCharset
public abstract void setCharset(String charset)
getHref
public abstract String getHref()
- The URI of the linked resource. See the href attribute definition in HTML 4.0.
setHref
public abstract void setHref(String href)
getHreflang
public abstract String getHreflang()
- Language code of the linked resource. See the hreflang attribute definition in HTML 4.0.
setHreflang
public abstract void setHreflang(String hreflang)
getMedia
public abstract String getMedia()
- Designed for use with one or more target media. See the media attribute definition in HTML 4.0.
setMedia
public abstract void setMedia(String media)
getRel
public abstract String getRel()
- Forward link type. See the rel attribute definition in HTML 4.0.
setRel
public abstract void setRel(String rel)
getRev
public abstract String getRev()
- Reverse link type. See the rev attribute definition in HTML 4.0.
setRev
public abstract void setRev(String rev)
getTarget
public abstract String getTarget()
- Frame to render the resource in. See the target attribute definition in HTML 4.0.
setTarget
public abstract void setTarget(String target)
getType
public abstract String getType()
- Advisory content type. See the type attribute definition in HTML 4.0.
setType
public abstract void setType(String type)
All Packages Class Hierarchy This Package Previous Next Index