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.


Method Index

 o getCharset()
The character encoding of the resource being linked to.
 o getDisabled()
Enables/disables the link.
 o getHref()
The URI of the linked resource.
 o getHreflang()
Language code of the linked resource.
 o getMedia()
Designed for use with one or more target media.
 o getRel()
Forward link type.
 o getRev()
Reverse link type.
 o getTarget()
Frame to render the resource in.
 o getType()
Advisory content type.
 o setCharset(String)
 o setDisabled(boolean)
 o setHref(String)
 o setHreflang(String)
 o setMedia(String)
 o setRel(String)
 o setRev(String)
 o setTarget(String)
 o setType(String)

Methods

 o 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.

 o setDisabled
 public abstract void setDisabled(boolean disabled)
 o getCharset
 public abstract String getCharset()
The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.0.

 o setCharset
 public abstract void setCharset(String charset)
 o getHref
 public abstract String getHref()
The URI of the linked resource. See the href attribute definition in HTML 4.0.

 o setHref
 public abstract void setHref(String href)
 o getHreflang
 public abstract String getHreflang()
Language code of the linked resource. See the hreflang attribute definition in HTML 4.0.

 o setHreflang
 public abstract void setHreflang(String hreflang)
 o getMedia
 public abstract String getMedia()
Designed for use with one or more target media. See the media attribute definition in HTML 4.0.

 o setMedia
 public abstract void setMedia(String media)
 o getRel
 public abstract String getRel()
Forward link type. See the rel attribute definition in HTML 4.0.

 o setRel
 public abstract void setRel(String rel)
 o getRev
 public abstract String getRev()
Reverse link type. See the rev attribute definition in HTML 4.0.

 o setRev
 public abstract void setRev(String rev)
 o getTarget
 public abstract String getTarget()
Frame to render the resource in. See the target attribute definition in HTML 4.0.

 o setTarget
 public abstract void setTarget(String target)
 o getType
 public abstract String getType()
Advisory content type. See the type attribute definition in HTML 4.0.

 o setType
 public abstract void setType(String type)

All Packages  Class Hierarchy  This Package  Previous  Next  Index