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