1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.Document ; 62 import org.w3c.dom.html.HTMLIFrameElement; 63 64 65 71 public class HTMLIFrameElementImpl 72 extends HTMLElementImpl 73 implements HTMLIFrameElement 74 { 75 76 77 public String getAlign() 78 { 79 return capitalize( getAttribute( "align" ) ); 80 } 81 82 83 public void setAlign( String align ) 84 { 85 setAttribute( "align", align ); 86 } 87 88 89 public String getFrameBorder() 90 { 91 return getAttribute( "frameborder" ); 92 } 93 94 95 public void setFrameBorder( String frameBorder ) 96 { 97 setAttribute( "frameborder", frameBorder ); 98 } 99 100 101 public String getHeight() 102 { 103 return getAttribute( "height" ); 104 } 105 106 107 public void setHeight( String height ) 108 { 109 setAttribute( "height", height ); 110 } 111 112 public String getLongDesc() 113 { 114 return getAttribute( "longdesc" ); 115 } 116 117 118 public void setLongDesc( String longDesc ) 119 { 120 setAttribute( "longdesc", longDesc ); 121 } 122 123 124 public String getMarginHeight() 125 { 126 return getAttribute( "marginheight" ); 127 } 128 129 130 public void setMarginHeight( String marginHeight ) 131 { 132 setAttribute( "marginheight", marginHeight ); 133 } 134 135 136 public String getMarginWidth() 137 { 138 return getAttribute( "marginwidth" ); 139 } 140 141 142 public void setMarginWidth( String marginWidth ) 143 { 144 setAttribute( "marginwidth", marginWidth ); 145 } 146 147 148 public String getName() 149 { 150 return getAttribute( "name" ); 151 } 152 153 154 public void setName( String name ) 155 { 156 setAttribute( "name", name ); 157 } 158 159 160 public String getScrolling() 161 { 162 return capitalize( getAttribute( "scrolling" ) ); 163 } 164 165 166 public void setScrolling( String scrolling ) 167 { 168 setAttribute( "scrolling", scrolling ); 169 } 170 171 172 public String getSrc() 173 { 174 return getAttribute( "src" ); 175 } 176 177 178 public void setSrc( String src ) 179 { 180 setAttribute( "src", src ); 181 } 182 183 184 public String getWidth() 185 { 186 return getAttribute( "width" ); 187 } 188 189 190 public void setWidth( String width ) 191 { 192 setAttribute( "width", width ); 193 } 194 195 198 public Document getContentDocument() { 199 return null; 200 } 201 202 207 public HTMLIFrameElementImpl( HTMLDocumentImpl owner, String name ) 208 { 209 super( owner, name ); 210 } 211 212 213 } 214 215 | Popular Tags |