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.HTMLFrameElement; 63 64 65 71 public class HTMLFrameElementImpl 72 extends HTMLElementImpl 73 implements HTMLFrameElement 74 { 75 76 77 public String getFrameBorder() 78 { 79 return getAttribute( "frameborder" ); 80 } 81 82 83 public void setFrameBorder( String frameBorder ) 84 { 85 setAttribute( "frameborder", frameBorder ); 86 } 87 88 89 public String getLongDesc() 90 { 91 return getAttribute( "longdesc" ); 92 } 93 94 95 public void setLongDesc( String longDesc ) 96 { 97 setAttribute( "longdesc", longDesc ); 98 } 99 100 101 public String getMarginHeight() 102 { 103 return getAttribute( "marginheight" ); 104 } 105 106 107 public void setMarginHeight( String marginHeight ) 108 { 109 setAttribute( "marginheight", marginHeight ); 110 } 111 112 113 public String getMarginWidth() 114 { 115 return getAttribute( "marginwidth" ); 116 } 117 118 119 public void setMarginWidth( String marginWidth ) 120 { 121 setAttribute( "marginwidth", marginWidth ); 122 } 123 124 125 public String getName() 126 { 127 return getAttribute( "name" ); 128 } 129 130 131 public void setName( String name ) 132 { 133 setAttribute( "name", name ); 134 } 135 136 137 public boolean getNoResize() 138 { 139 return getBinary( "noresize" ); 140 } 141 142 143 public void setNoResize( boolean noResize ) 144 { 145 setAttribute( "noresize", noResize ); 146 } 147 148 149 public String getScrolling() 150 { 151 return capitalize( getAttribute( "scrolling" ) ); 152 } 153 154 155 public void setScrolling( String scrolling ) 156 { 157 setAttribute( "scrolling", scrolling ); 158 } 159 160 161 public String getSrc() 162 { 163 return getAttribute( "src" ); 164 } 165 166 167 public void setSrc( String src ) 168 { 169 setAttribute( "src", src ); 170 } 171 172 173 178 public HTMLFrameElementImpl( HTMLDocumentImpl owner, String name ) 179 { 180 super( owner, name ); 181 } 182 183 186 public Document getContentDocument() { 187 return null; 188 } 189 } 190 191 | Popular Tags |