1 24 25 package org.enhydra.xml.xhtml.dom.xerces; 26 27 import org.w3c.dom.NodeList ; 28 import org.w3c.dom.html.HTMLCollection; 29 30 public class XHTMLFormElementImpl 31 extends XHTMLElementImpl 32 implements org.enhydra.xml.xhtml.dom.XHTMLFormElement 33 { 34 35 public XHTMLFormElementImpl (XHTMLDocumentBase owner, String namespaceURI, String tagName) { 36 super( owner, namespaceURI, tagName); 37 } 38 39 43 public NodeList getChildNodes() { 44 return getChildNodesUnoptimized(); 45 } 46 47 public void setId (String newValue) { 48 setAttribute("id", newValue); 49 } 50 51 public String getId () { 52 return getAttribute ("id"); 53 } 54 public void setLang (String newValue) { 55 setAttribute("lang", newValue); 56 } 57 58 public String getLang () { 59 return getAttribute ("lang"); 60 } 61 public void setDir (String newValue) { 62 setAttribute("dir", newValue); 63 } 64 65 public String getDir () { 66 return getAttribute ("dir"); 67 } 68 public void setClassName (String newValue) { 69 setAttribute("class", newValue); 70 } 71 72 public String getClassName () { 73 return getAttribute ("class"); 74 } 75 public void setTitle (String newValue) { 76 setAttribute("title", newValue); 77 } 78 79 public String getTitle () { 80 return getAttribute ("title"); 81 } 82 public void setName (String newValue) { 83 setAttribute("name", newValue); 84 } 85 86 public String getName () { 87 return getAttribute ("name"); 88 } 89 public void setMethod (String newValue) { 90 setAttribute("method", newValue); 91 } 92 93 public String getMethod () { 94 return getAttribute ("method"); 95 } 96 public void setTarget (String newValue) { 97 setAttribute("target", newValue); 98 } 99 100 public String getTarget () { 101 return getAttribute ("target"); 102 } 103 public void setAcceptCharset (String newValue) { 104 setAttribute("accept-charset", newValue); 105 } 106 107 public String getAcceptCharset () { 108 return getAttribute ("accept-charset"); 109 } 110 public void setAction (String newValue) { 111 setAttribute("action", newValue); 112 } 113 114 public String getAction () { 115 return getAttribute ("action"); 116 } 117 public void setEnctype (String newValue) { 118 setAttribute("enctype", newValue); 119 } 120 121 public String getEnctype () { 122 return getAttribute ("enctype"); 123 } 124 public void setOnKeyUp (String newValue) { 125 setAttribute("onkeyup", newValue); 126 } 127 128 public String getOnKeyUp () { 129 return getAttribute ("onkeyup"); 130 } 131 public void setStyle (String newValue) { 132 setAttribute("style", newValue); 133 } 134 135 public String getStyle () { 136 return getAttribute ("style"); 137 } 138 public void setOnMouseDown (String newValue) { 139 setAttribute("onmousedown", newValue); 140 } 141 142 public String getOnMouseDown () { 143 return getAttribute ("onmousedown"); 144 } 145 public void setOnKeyPress (String newValue) { 146 setAttribute("onkeypress", newValue); 147 } 148 149 public String getOnKeyPress () { 150 return getAttribute ("onkeypress"); 151 } 152 public void setOnDblClick (String newValue) { 153 setAttribute("ondblclick", newValue); 154 } 155 156 public String getOnDblClick () { 157 return getAttribute ("ondblclick"); 158 } 159 public void setOnKeyDown (String newValue) { 160 setAttribute("onkeydown", newValue); 161 } 162 163 public String getOnKeyDown () { 164 return getAttribute ("onkeydown"); 165 } 166 public void setOnMouseMove (String newValue) { 167 setAttribute("onmousemove", newValue); 168 } 169 170 public String getOnMouseMove () { 171 return getAttribute ("onmousemove"); 172 } 173 public void setOnMouseUp (String newValue) { 174 setAttribute("onmouseup", newValue); 175 } 176 177 public String getOnMouseUp () { 178 return getAttribute ("onmouseup"); 179 } 180 public void setXmlLang (String newValue) { 181 setAttribute("xml:lang", newValue); 182 } 183 184 public String getXmlLang () { 185 return getAttribute ("xml:lang"); 186 } 187 public void setOnMouseOut (String newValue) { 188 setAttribute("onmouseout", newValue); 189 } 190 191 public String getOnMouseOut () { 192 return getAttribute ("onmouseout"); 193 } 194 public void setOnClick (String newValue) { 195 setAttribute("onclick", newValue); 196 } 197 198 public String getOnClick () { 199 return getAttribute ("onclick"); 200 } 201 public void setOnMouseOver (String newValue) { 202 setAttribute("onmouseover", newValue); 203 } 204 205 public String getOnMouseOver () { 206 return getAttribute ("onmouseover"); 207 } 208 public void setAccept (String newValue) { 209 setAttribute("accept", newValue); 210 } 211 212 public String getAccept () { 213 return getAttribute ("accept"); 214 } 215 public void setOnReset (String newValue) { 216 setAttribute("onreset", newValue); 217 } 218 219 public String getOnReset () { 220 return getAttribute ("onreset"); 221 } 222 public void setOnsubmit (String newValue) { 223 setAttribute("onsubmit", newValue); 224 } 225 226 public String getOnsubmit () { 227 return getAttribute ("onsubmit"); 228 } 229 ; 230 231 public HTMLCollection getElements() 232 { 233 if ( _elements == null ) 234 _elements = new XHTMLCollectionImpl( this, XHTMLCollectionImpl.ELEMENT ); 235 return _elements; 236 } 237 238 public int getLength() 239 { 240 return getElements().getLength(); 241 } 242 243 public void submit() 244 { 245 } 247 248 249 public void reset() 250 { 251 } 253 254 257 private XHTMLCollectionImpl _elements; 258 259 260 ; 261 } 262 263 264 | Popular Tags |