1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.html.HTMLStyleElement; 62 63 64 70 public class HTMLStyleElementImpl 71 extends HTMLElementImpl 72 implements HTMLStyleElement 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 getMedia() 89 { 90 return getAttribute( "media" ); 91 } 92 93 94 public void setMedia( String media ) 95 { 96 setAttribute( "media", media ); 97 } 98 99 100 public String getType() 101 { 102 return getAttribute( "type" ); 103 } 104 105 106 public void setType( String type ) 107 { 108 setAttribute( "type", type ); 109 } 110 111 112 117 public HTMLStyleElementImpl( HTMLDocumentImpl owner, String name ) 118 { 119 super( owner, name ); 120 } 121 122 123 } 124 125 | Popular Tags |