Dead
[official-gcc.git] / gomp-20050608-branch / libjava / classpath / external / w3c_dom / org / w3c / dom / html2 / HTMLLinkElement.java
blob4ed72ca9483fb65d7b10756db77a1e74c67fcc5e
1 /*
2 * Copyright (c) 2003 World Wide Web Consortium,
3 * (Massachusetts Institute of Technology, Institut National de
4 * Recherche en Informatique et en Automatique, Keio University). All
5 * Rights Reserved. This program is distributed under the W3C's Software
6 * Intellectual Property License. This program is distributed in the
7 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 * PURPOSE.
10 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
13 package org.w3c.dom.html2;
15 /**
16 * The <code>LINK</code> element specifies a link to an external resource, and
17 * defines this document's relationship to that resource (or vice versa).
18 * See the LINK element definition in HTML 4.01 (see also the
19 * <code>LinkStyle</code> interface in the StyleSheet module [<a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>DOM Level 2 Style Sheets and CSS</a>]).
20 * <p>See also the <a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>.
22 public interface HTMLLinkElement extends HTMLElement {
23 /**
24 * Enables/disables the link. This is currently only used for style sheet
25 * links, and may be used to activate or deactivate style sheets.
27 public boolean getDisabled();
28 /**
29 * Enables/disables the link. This is currently only used for style sheet
30 * links, and may be used to activate or deactivate style sheets.
32 public void setDisabled(boolean disabled);
34 /**
35 * The character encoding of the resource being linked to. See the charset
36 * attribute definition in HTML 4.01.
38 public String getCharset();
39 /**
40 * The character encoding of the resource being linked to. See the charset
41 * attribute definition in HTML 4.01.
43 public void setCharset(String charset);
45 /**
46 * The URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the linked resource. See the href attribute definition in
47 * HTML 4.01.
49 public String getHref();
50 /**
51 * The URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the linked resource. See the href attribute definition in
52 * HTML 4.01.
54 public void setHref(String href);
56 /**
57 * Language code of the linked resource. See the hreflang attribute
58 * definition in HTML 4.01.
60 public String getHreflang();
61 /**
62 * Language code of the linked resource. See the hreflang attribute
63 * definition in HTML 4.01.
65 public void setHreflang(String hreflang);
67 /**
68 * Designed for use with one or more target media. See the media attribute
69 * definition in HTML 4.01.
71 public String getMedia();
72 /**
73 * Designed for use with one or more target media. See the media attribute
74 * definition in HTML 4.01.
76 public void setMedia(String media);
78 /**
79 * Forward link type. See the rel attribute definition in HTML 4.01.
81 public String getRel();
82 /**
83 * Forward link type. See the rel attribute definition in HTML 4.01.
85 public void setRel(String rel);
87 /**
88 * Reverse link type. See the rev attribute definition in HTML 4.01.
90 public String getRev();
91 /**
92 * Reverse link type. See the rev attribute definition in HTML 4.01.
94 public void setRev(String rev);
96 /**
97 * Frame to render the resource in. See the target attribute definition in
98 * HTML 4.01.
100 public String getTarget();
102 * Frame to render the resource in. See the target attribute definition in
103 * HTML 4.01.
105 public void setTarget(String target);
108 * Advisory content type. See the type attribute definition in HTML 4.01.
110 public String getType();
112 * Advisory content type. See the type attribute definition in HTML 4.01.
114 public void setType(String type);