001// *************************************************************************************************************************** 002// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file * 003// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * 004// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance * 005// * with the License. You may obtain a copy of the License at * 006// * * 007// * http://www.apache.org/licenses/LICENSE-2.0 * 008// * * 009// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an * 010// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * 011// * specific language governing permissions and limitations under the License. * 012// *************************************************************************************************************************** 013package org.apache.juneau.dto.html5; 014 015import org.apache.juneau.annotation.*; 016import org.apache.juneau.internal.*; 017 018/** 019 * DTO for an HTML <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#the-keygen-element"><keygen></a> 020 * element. 021 * 022 * <h5 class='section'>See Also:</h5><ul> 023 * <li class='link'><a class="doclink" href="../../../../../index.html#jd.Html5">Overview > juneau-dto > HTML5</a> 024 * </ul> 025 */ 026@Bean(typeName="keygen") 027@FluentSetters 028public class Keygen extends HtmlElementVoid { 029 030 /** 031 * Creates an empty {@link Keygen} element. 032 */ 033 public Keygen() {} 034 035 /** 036 * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fe-autofocus">autofocus</a> attribute. 037 * 038 * <p> 039 * Automatically focus the form control when the page is loaded. 040 * 041 * @param autofocus 042 * The new value for this attribute. 043 * Typically a {@link Boolean} or {@link String}. 044 * @return This object. 045 */ 046 public final Keygen autofocus(Object autofocus) { 047 attr("autofocus", autofocus); 048 return this; 049 } 050 051 /** 052 * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-keygen-challenge">challenge</a> attribute. 053 * 054 * <p> 055 * String to package with the generated and signed public key. 056 * 057 * @param challenge The new value for this attribute. 058 * @return This object. 059 */ 060 public final Keygen challenge(String challenge) { 061 attr("challenge", challenge); 062 return this; 063 } 064 065 /** 066 * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fe-disabled">disabled</a> attribute. 067 * 068 * <p> 069 * Whether the form control is disabled. 070 * 071 * @param disabled 072 * The new value for this attribute. 073 * Typically a {@link Boolean} or {@link String}. 074 * @return This object. 075 */ 076 public final Keygen disabled(Object disabled) { 077 attr("disabled", deminimize(disabled, "disabled")); 078 return this; 079 } 080 081 /** 082 * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fae-form">form</a> attribute. 083 * 084 * <p> 085 * Associates the control with a form element. 086 * 087 * @param form The new value for this attribute. 088 * @return This object. 089 */ 090 public final Keygen form(String form) { 091 attr("form", form); 092 return this; 093 } 094 095 /** 096 * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-keygen-keytype">keytype</a> attribute. 097 * 098 * <p> 099 * The type of cryptographic key to generate. 100 * 101 * @param keytype The new value for this attribute. 102 * @return This object. 103 */ 104 public final Keygen keytype(String keytype) { 105 attr("keytype", keytype); 106 return this; 107 } 108 109 /** 110 * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fe-name">name</a> attribute. 111 * 112 * <p> 113 * Name of form control to use for form submission and in the form.elements API. 114 * 115 * @param name The new value for this attribute. 116 * @return This object. 117 */ 118 public final Keygen name(String name) { 119 attr("name", name); 120 return this; 121 } 122 123 124 //----------------------------------------------------------------------------------------------------------------- 125 // Overridden methods 126 //----------------------------------------------------------------------------------------------------------------- 127 128 // <FluentSetters> 129 130 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 131 public Keygen _class(String _class) { 132 super._class(_class); 133 return this; 134 } 135 136 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 137 public Keygen accesskey(String accesskey) { 138 super.accesskey(accesskey); 139 return this; 140 } 141 142 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 143 public Keygen contenteditable(Object contenteditable) { 144 super.contenteditable(contenteditable); 145 return this; 146 } 147 148 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 149 public Keygen dir(String dir) { 150 super.dir(dir); 151 return this; 152 } 153 154 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 155 public Keygen hidden(Object hidden) { 156 super.hidden(hidden); 157 return this; 158 } 159 160 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 161 public Keygen id(String id) { 162 super.id(id); 163 return this; 164 } 165 166 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 167 public Keygen lang(String lang) { 168 super.lang(lang); 169 return this; 170 } 171 172 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 173 public Keygen onabort(String onabort) { 174 super.onabort(onabort); 175 return this; 176 } 177 178 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 179 public Keygen onblur(String onblur) { 180 super.onblur(onblur); 181 return this; 182 } 183 184 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 185 public Keygen oncancel(String oncancel) { 186 super.oncancel(oncancel); 187 return this; 188 } 189 190 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 191 public Keygen oncanplay(String oncanplay) { 192 super.oncanplay(oncanplay); 193 return this; 194 } 195 196 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 197 public Keygen oncanplaythrough(String oncanplaythrough) { 198 super.oncanplaythrough(oncanplaythrough); 199 return this; 200 } 201 202 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 203 public Keygen onchange(String onchange) { 204 super.onchange(onchange); 205 return this; 206 } 207 208 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 209 public Keygen onclick(String onclick) { 210 super.onclick(onclick); 211 return this; 212 } 213 214 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 215 public Keygen oncuechange(String oncuechange) { 216 super.oncuechange(oncuechange); 217 return this; 218 } 219 220 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 221 public Keygen ondblclick(String ondblclick) { 222 super.ondblclick(ondblclick); 223 return this; 224 } 225 226 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 227 public Keygen ondurationchange(String ondurationchange) { 228 super.ondurationchange(ondurationchange); 229 return this; 230 } 231 232 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 233 public Keygen onemptied(String onemptied) { 234 super.onemptied(onemptied); 235 return this; 236 } 237 238 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 239 public Keygen onended(String onended) { 240 super.onended(onended); 241 return this; 242 } 243 244 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 245 public Keygen onerror(String onerror) { 246 super.onerror(onerror); 247 return this; 248 } 249 250 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 251 public Keygen onfocus(String onfocus) { 252 super.onfocus(onfocus); 253 return this; 254 } 255 256 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 257 public Keygen oninput(String oninput) { 258 super.oninput(oninput); 259 return this; 260 } 261 262 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 263 public Keygen oninvalid(String oninvalid) { 264 super.oninvalid(oninvalid); 265 return this; 266 } 267 268 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 269 public Keygen onkeydown(String onkeydown) { 270 super.onkeydown(onkeydown); 271 return this; 272 } 273 274 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 275 public Keygen onkeypress(String onkeypress) { 276 super.onkeypress(onkeypress); 277 return this; 278 } 279 280 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 281 public Keygen onkeyup(String onkeyup) { 282 super.onkeyup(onkeyup); 283 return this; 284 } 285 286 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 287 public Keygen onload(String onload) { 288 super.onload(onload); 289 return this; 290 } 291 292 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 293 public Keygen onloadeddata(String onloadeddata) { 294 super.onloadeddata(onloadeddata); 295 return this; 296 } 297 298 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 299 public Keygen onloadedmetadata(String onloadedmetadata) { 300 super.onloadedmetadata(onloadedmetadata); 301 return this; 302 } 303 304 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 305 public Keygen onloadstart(String onloadstart) { 306 super.onloadstart(onloadstart); 307 return this; 308 } 309 310 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 311 public Keygen onmousedown(String onmousedown) { 312 super.onmousedown(onmousedown); 313 return this; 314 } 315 316 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 317 public Keygen onmouseenter(String onmouseenter) { 318 super.onmouseenter(onmouseenter); 319 return this; 320 } 321 322 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 323 public Keygen onmouseleave(String onmouseleave) { 324 super.onmouseleave(onmouseleave); 325 return this; 326 } 327 328 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 329 public Keygen onmousemove(String onmousemove) { 330 super.onmousemove(onmousemove); 331 return this; 332 } 333 334 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 335 public Keygen onmouseout(String onmouseout) { 336 super.onmouseout(onmouseout); 337 return this; 338 } 339 340 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 341 public Keygen onmouseover(String onmouseover) { 342 super.onmouseover(onmouseover); 343 return this; 344 } 345 346 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 347 public Keygen onmouseup(String onmouseup) { 348 super.onmouseup(onmouseup); 349 return this; 350 } 351 352 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 353 public Keygen onmousewheel(String onmousewheel) { 354 super.onmousewheel(onmousewheel); 355 return this; 356 } 357 358 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 359 public Keygen onpause(String onpause) { 360 super.onpause(onpause); 361 return this; 362 } 363 364 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 365 public Keygen onplay(String onplay) { 366 super.onplay(onplay); 367 return this; 368 } 369 370 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 371 public Keygen onplaying(String onplaying) { 372 super.onplaying(onplaying); 373 return this; 374 } 375 376 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 377 public Keygen onprogress(String onprogress) { 378 super.onprogress(onprogress); 379 return this; 380 } 381 382 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 383 public Keygen onratechange(String onratechange) { 384 super.onratechange(onratechange); 385 return this; 386 } 387 388 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 389 public Keygen onreset(String onreset) { 390 super.onreset(onreset); 391 return this; 392 } 393 394 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 395 public Keygen onresize(String onresize) { 396 super.onresize(onresize); 397 return this; 398 } 399 400 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 401 public Keygen onscroll(String onscroll) { 402 super.onscroll(onscroll); 403 return this; 404 } 405 406 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 407 public Keygen onseeked(String onseeked) { 408 super.onseeked(onseeked); 409 return this; 410 } 411 412 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 413 public Keygen onseeking(String onseeking) { 414 super.onseeking(onseeking); 415 return this; 416 } 417 418 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 419 public Keygen onselect(String onselect) { 420 super.onselect(onselect); 421 return this; 422 } 423 424 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 425 public Keygen onshow(String onshow) { 426 super.onshow(onshow); 427 return this; 428 } 429 430 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 431 public Keygen onstalled(String onstalled) { 432 super.onstalled(onstalled); 433 return this; 434 } 435 436 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 437 public Keygen onsubmit(String onsubmit) { 438 super.onsubmit(onsubmit); 439 return this; 440 } 441 442 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 443 public Keygen onsuspend(String onsuspend) { 444 super.onsuspend(onsuspend); 445 return this; 446 } 447 448 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 449 public Keygen ontimeupdate(String ontimeupdate) { 450 super.ontimeupdate(ontimeupdate); 451 return this; 452 } 453 454 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 455 public Keygen ontoggle(String ontoggle) { 456 super.ontoggle(ontoggle); 457 return this; 458 } 459 460 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 461 public Keygen onvolumechange(String onvolumechange) { 462 super.onvolumechange(onvolumechange); 463 return this; 464 } 465 466 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 467 public Keygen onwaiting(String onwaiting) { 468 super.onwaiting(onwaiting); 469 return this; 470 } 471 472 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 473 public Keygen spellcheck(Object spellcheck) { 474 super.spellcheck(spellcheck); 475 return this; 476 } 477 478 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 479 public Keygen style(String style) { 480 super.style(style); 481 return this; 482 } 483 484 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 485 public Keygen tabindex(Object tabindex) { 486 super.tabindex(tabindex); 487 return this; 488 } 489 490 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 491 public Keygen title(String title) { 492 super.title(title); 493 return this; 494 } 495 496 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 497 public Keygen translate(Object translate) { 498 super.translate(translate); 499 return this; 500 } 501 502 // </FluentSetters> 503}