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