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 (see also the
LinkStyle interface in the module).
See also the Document Object Model (DOM) Level 2 Specification.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| getCharset | back to summary |
|---|---|
| public String getCharset() The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.0. | |
| getDisabled | back to summary |
|---|---|
| public 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. | |
| getHref | back to summary |
|---|---|
| public String getHref() The URI of the linked resource. See the href attribute definition in HTML 4.0. | |
| getHreflang | back to summary |
|---|---|
| public String getHreflang() Language code of the linked resource. See the hreflang attribute definition in HTML 4.0. | |
| getMedia | back to summary |
|---|---|
| public String getMedia() Designed for use with one or more target media. See the media attribute definition in HTML 4.0. | |
| getRel | back to summary |
|---|---|
| public String getRel() Forward link type. See the rel attribute definition in HTML 4.0. | |
| getRev | back to summary |
|---|---|
| public String getRev() Reverse link type. See the rev attribute definition in HTML 4.0. | |
| getTarget | back to summary |
|---|---|
| public String getTarget() Frame to render the resource in. See the target attribute definition in HTML 4.0. | |
| getType | back to summary |
|---|---|
| public String getType() Advisory content type. See the type attribute definition in HTML 4.0. | |
| setCharset | back to summary |
|---|---|
| public void setCharset(String charset) | |
| setDisabled | back to summary |
|---|---|
| public void setDisabled(boolean disabled) | |
| setHref | back to summary |
|---|---|
| public void setHref(String href) | |
| setHreflang | back to summary |
|---|---|
| public void setHreflang(String hreflang) | |
| setMedia | back to summary |
|---|---|
| public void setMedia(String media) | |
| setRel | back to summary |
|---|---|
| public void setRel(String rel) | |
| setRev | back to summary |
|---|---|
| public void setRev(String rev) | |
| setTarget | back to summary |
|---|---|
| public void setTarget(String target) | |
| setType | back to summary |
|---|---|
| public void setType(String type) | |