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