
org.w3c.dom.html.HTMLLinkElement Maven / Gradle / Ivy
// Copyright (c) 1998 by W3C
//
// DOM is a trademark of W3C
// The DOM level 1 specification, from which this
// source is derived, is copyright by W3C.
// See: http://www.w3.org/TR/REC-DOM-Level-1/
//
package org.w3c.dom.html;
import org.w3c.dom.*;
/**
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.
Property Summary
disabled
getDisabled
setDisabled
Enables/disables the link. This is currently only used for style sheet links, and may be used to activate or deactivate style sheets.
charset
getCharset
setCharset
The character encoding of the resource being linked to. See the
charset attribute definition
in HTML 4.0.
href
getHref
setHref
The URI of the linked resource. See the
href attribute definition
in HTML 4.0.
hreflang
getHreflang
setHreflang
Language code of the linked resource. See the
hreflang attribute definition
in HTML 4.0.
media
getMedia
setMedia
Designed for use with one or more target media. See the
media attribute definition
in HTML 4.0.
rel
getRel
setRel
Forward link type. See the
rel attribute definition
in HTML 4.0.
rev
getRev
setRev
Reverse link type. See the
rev attribute definition
in HTML 4.0.
target
getTarget
setTarget
Frame to render the resource in. See the
target attribute definition
in HTML 4.0.
type
getType
setType
Advisory content type. See the
type attribute definition
in HTML 4.0.
*/
public interface HTMLLinkElement
extends HTMLElement
{
/** Assigns the value of the disabled
property.
*/
void setDisabled (boolean disabled);
/**
* Returns the value of the disabled
property.
*/
boolean getDisabled ();
/** Assigns the value of the charset
property.
*/
void setCharset (String charset);
/**
* Returns the value of the charset
property.
*/
String getCharset ();
/** Assigns the value of the href
property.
*/
void setHref (String href);
/**
* Returns the value of the href
property.
*/
String getHref ();
/** Assigns the value of the hreflang
property.
*/
void setHreflang (String hreflang);
/**
* Returns the value of the hreflang
property.
*/
String getHreflang ();
/** Assigns the value of the media
property.
*/
void setMedia (String media);
/**
* Returns the value of the media
property.
*/
String getMedia ();
/** Assigns the value of the rel
property.
*/
void setRel (String rel);
/**
* Returns the value of the rel
property.
*/
String getRel ();
/** Assigns the value of the rev
property.
*/
void setRev (String rev);
/**
* Returns the value of the rev
property.
*/
String getRev ();
/** Assigns the value of the target
property.
*/
void setTarget (String target);
/**
* Returns the value of the target
property.
*/
String getTarget ();
/** Assigns the value of the type
property.
*/
void setType (String type);
/**
* Returns the value of the type
property.
*/
String getType ();
}