1 57 package com.sun.org.apache.html.internal.dom; 58 59 60 import org.w3c.dom.html.HTMLLinkElement; 61 62 63 69 public class HTMLLinkElementImpl 70 extends HTMLElementImpl 71 implements HTMLLinkElement 72 { 73 74 75 public boolean getDisabled() 76 { 77 return getBinary( "disabled" ); 78 } 79 80 81 public void setDisabled( boolean disabled ) 82 { 83 setAttribute( "disabled", disabled ); 84 } 85 86 87 public String getCharset() 88 { 89 return getAttribute( "charset" ); 90 } 91 92 93 public void setCharset( String charset ) 94 { 95 setAttribute( "charset", charset ); 96 } 97 98 99 public String getHref() 100 { 101 return getAttribute( "href" ); 102 } 103 104 105 public void setHref( String href ) 106 { 107 setAttribute( "href", href ); 108 } 109 110 111 public String getHreflang() 112 { 113 return getAttribute( "hreflang" ); 114 } 115 116 117 public void setHreflang( String hreflang ) 118 { 119 setAttribute( "hreflang", hreflang ); 120 } 121 122 123 public String getMedia() 124 { 125 return getAttribute( "media" ); 126 } 127 128 129 public void setMedia( String media ) 130 { 131 setAttribute( "media", media ); 132 } 133 134 135 public String getRel() 136 { 137 return getAttribute( "rel" ); 138 } 139 140 141 public void setRel( String rel ) 142 { 143 setAttribute( "rel", rel ); 144 } 145 146 147 public String getRev() 148 { 149 return getAttribute( "rev" ); 150 } 151 152 153 public void setRev( String rev ) 154 { 155 setAttribute( "rev", rev ); 156 } 157 158 159 public String getTarget() 160 { 161 return getAttribute( "target" ); 162 } 163 164 165 public void setTarget( String target ) 166 { 167 setAttribute( "target", target ); 168 } 169 170 171 public String getType() 172 { 173 return getAttribute( "type" ); 174 } 175 176 177 public void setType( String type ) 178 { 179 setAttribute( "type", type ); 180 } 181 182 183 188 public HTMLLinkElementImpl( HTMLDocumentImpl owner, String name ) 189 { 190 super( owner, name ); 191 } 192 193 194 } 195 196 | Popular Tags |