1 16 package org.apache.html.dom; 17 18 import org.w3c.dom.html.HTMLLinkElement; 19 20 27 public class HTMLLinkElementImpl 28 extends HTMLElementImpl 29 implements HTMLLinkElement 30 { 31 32 private static final long serialVersionUID = 4050763784366929202L; 33 34 public boolean getDisabled() 35 { 36 return getBinary( "disabled" ); 37 } 38 39 40 public void setDisabled( boolean disabled ) 41 { 42 setAttribute( "disabled", disabled ); 43 } 44 45 46 public String getCharset() 47 { 48 return getAttribute( "charset" ); 49 } 50 51 52 public void setCharset( String charset ) 53 { 54 setAttribute( "charset", charset ); 55 } 56 57 58 public String getHref() 59 { 60 return getAttribute( "href" ); 61 } 62 63 64 public void setHref( String href ) 65 { 66 setAttribute( "href", href ); 67 } 68 69 70 public String getHreflang() 71 { 72 return getAttribute( "hreflang" ); 73 } 74 75 76 public void setHreflang( String hreflang ) 77 { 78 setAttribute( "hreflang", hreflang ); 79 } 80 81 82 public String getMedia() 83 { 84 return getAttribute( "media" ); 85 } 86 87 88 public void setMedia( String media ) 89 { 90 setAttribute( "media", media ); 91 } 92 93 94 public String getRel() 95 { 96 return getAttribute( "rel" ); 97 } 98 99 100 public void setRel( String rel ) 101 { 102 setAttribute( "rel", rel ); 103 } 104 105 106 public String getRev() 107 { 108 return getAttribute( "rev" ); 109 } 110 111 112 public void setRev( String rev ) 113 { 114 setAttribute( "rev", rev ); 115 } 116 117 118 public String getTarget() 119 { 120 return getAttribute( "target" ); 121 } 122 123 124 public void setTarget( String target ) 125 { 126 setAttribute( "target", target ); 127 } 128 129 130 public String getType() 131 { 132 return getAttribute( "type" ); 133 } 134 135 136 public void setType( String type ) 137 { 138 setAttribute( "type", type ); 139 } 140 141 142 147 public HTMLLinkElementImpl( HTMLDocumentImpl owner, String name ) 148 { 149 super( owner, name ); 150 } 151 152 153 } 154 155 | Popular Tags |