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/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements"><h2></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="h2") 027@FluentSetters 028public class H2 extends HtmlElementMixed { 029 030 /** 031 * Creates an empty {@link H2} element. 032 */ 033 public H2() {} 034 035 /** 036 * Creates an {@link H2} element with the specified child nodes. 037 * 038 * @param children The child nodes. 039 */ 040 public H2(Object...children) { 041 children(children); 042 } 043 044 //----------------------------------------------------------------------------------------------------------------- 045 // Overridden methods 046 //----------------------------------------------------------------------------------------------------------------- 047 048 // <FluentSetters> 049 050 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 051 public H2 _class(String _class) { 052 super._class(_class); 053 return this; 054 } 055 056 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 057 public H2 accesskey(String accesskey) { 058 super.accesskey(accesskey); 059 return this; 060 } 061 062 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 063 public H2 contenteditable(Object contenteditable) { 064 super.contenteditable(contenteditable); 065 return this; 066 } 067 068 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 069 public H2 dir(String dir) { 070 super.dir(dir); 071 return this; 072 } 073 074 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 075 public H2 hidden(Object hidden) { 076 super.hidden(hidden); 077 return this; 078 } 079 080 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 081 public H2 id(String id) { 082 super.id(id); 083 return this; 084 } 085 086 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 087 public H2 lang(String lang) { 088 super.lang(lang); 089 return this; 090 } 091 092 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 093 public H2 onabort(String onabort) { 094 super.onabort(onabort); 095 return this; 096 } 097 098 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 099 public H2 onblur(String onblur) { 100 super.onblur(onblur); 101 return this; 102 } 103 104 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 105 public H2 oncancel(String oncancel) { 106 super.oncancel(oncancel); 107 return this; 108 } 109 110 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 111 public H2 oncanplay(String oncanplay) { 112 super.oncanplay(oncanplay); 113 return this; 114 } 115 116 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 117 public H2 oncanplaythrough(String oncanplaythrough) { 118 super.oncanplaythrough(oncanplaythrough); 119 return this; 120 } 121 122 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 123 public H2 onchange(String onchange) { 124 super.onchange(onchange); 125 return this; 126 } 127 128 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 129 public H2 onclick(String onclick) { 130 super.onclick(onclick); 131 return this; 132 } 133 134 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 135 public H2 oncuechange(String oncuechange) { 136 super.oncuechange(oncuechange); 137 return this; 138 } 139 140 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 141 public H2 ondblclick(String ondblclick) { 142 super.ondblclick(ondblclick); 143 return this; 144 } 145 146 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 147 public H2 ondurationchange(String ondurationchange) { 148 super.ondurationchange(ondurationchange); 149 return this; 150 } 151 152 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 153 public H2 onemptied(String onemptied) { 154 super.onemptied(onemptied); 155 return this; 156 } 157 158 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 159 public H2 onended(String onended) { 160 super.onended(onended); 161 return this; 162 } 163 164 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 165 public H2 onerror(String onerror) { 166 super.onerror(onerror); 167 return this; 168 } 169 170 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 171 public H2 onfocus(String onfocus) { 172 super.onfocus(onfocus); 173 return this; 174 } 175 176 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 177 public H2 oninput(String oninput) { 178 super.oninput(oninput); 179 return this; 180 } 181 182 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 183 public H2 oninvalid(String oninvalid) { 184 super.oninvalid(oninvalid); 185 return this; 186 } 187 188 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 189 public H2 onkeydown(String onkeydown) { 190 super.onkeydown(onkeydown); 191 return this; 192 } 193 194 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 195 public H2 onkeypress(String onkeypress) { 196 super.onkeypress(onkeypress); 197 return this; 198 } 199 200 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 201 public H2 onkeyup(String onkeyup) { 202 super.onkeyup(onkeyup); 203 return this; 204 } 205 206 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 207 public H2 onload(String onload) { 208 super.onload(onload); 209 return this; 210 } 211 212 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 213 public H2 onloadeddata(String onloadeddata) { 214 super.onloadeddata(onloadeddata); 215 return this; 216 } 217 218 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 219 public H2 onloadedmetadata(String onloadedmetadata) { 220 super.onloadedmetadata(onloadedmetadata); 221 return this; 222 } 223 224 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 225 public H2 onloadstart(String onloadstart) { 226 super.onloadstart(onloadstart); 227 return this; 228 } 229 230 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 231 public H2 onmousedown(String onmousedown) { 232 super.onmousedown(onmousedown); 233 return this; 234 } 235 236 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 237 public H2 onmouseenter(String onmouseenter) { 238 super.onmouseenter(onmouseenter); 239 return this; 240 } 241 242 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 243 public H2 onmouseleave(String onmouseleave) { 244 super.onmouseleave(onmouseleave); 245 return this; 246 } 247 248 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 249 public H2 onmousemove(String onmousemove) { 250 super.onmousemove(onmousemove); 251 return this; 252 } 253 254 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 255 public H2 onmouseout(String onmouseout) { 256 super.onmouseout(onmouseout); 257 return this; 258 } 259 260 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 261 public H2 onmouseover(String onmouseover) { 262 super.onmouseover(onmouseover); 263 return this; 264 } 265 266 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 267 public H2 onmouseup(String onmouseup) { 268 super.onmouseup(onmouseup); 269 return this; 270 } 271 272 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 273 public H2 onmousewheel(String onmousewheel) { 274 super.onmousewheel(onmousewheel); 275 return this; 276 } 277 278 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 279 public H2 onpause(String onpause) { 280 super.onpause(onpause); 281 return this; 282 } 283 284 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 285 public H2 onplay(String onplay) { 286 super.onplay(onplay); 287 return this; 288 } 289 290 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 291 public H2 onplaying(String onplaying) { 292 super.onplaying(onplaying); 293 return this; 294 } 295 296 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 297 public H2 onprogress(String onprogress) { 298 super.onprogress(onprogress); 299 return this; 300 } 301 302 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 303 public H2 onratechange(String onratechange) { 304 super.onratechange(onratechange); 305 return this; 306 } 307 308 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 309 public H2 onreset(String onreset) { 310 super.onreset(onreset); 311 return this; 312 } 313 314 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 315 public H2 onresize(String onresize) { 316 super.onresize(onresize); 317 return this; 318 } 319 320 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 321 public H2 onscroll(String onscroll) { 322 super.onscroll(onscroll); 323 return this; 324 } 325 326 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 327 public H2 onseeked(String onseeked) { 328 super.onseeked(onseeked); 329 return this; 330 } 331 332 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 333 public H2 onseeking(String onseeking) { 334 super.onseeking(onseeking); 335 return this; 336 } 337 338 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 339 public H2 onselect(String onselect) { 340 super.onselect(onselect); 341 return this; 342 } 343 344 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 345 public H2 onshow(String onshow) { 346 super.onshow(onshow); 347 return this; 348 } 349 350 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 351 public H2 onstalled(String onstalled) { 352 super.onstalled(onstalled); 353 return this; 354 } 355 356 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 357 public H2 onsubmit(String onsubmit) { 358 super.onsubmit(onsubmit); 359 return this; 360 } 361 362 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 363 public H2 onsuspend(String onsuspend) { 364 super.onsuspend(onsuspend); 365 return this; 366 } 367 368 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 369 public H2 ontimeupdate(String ontimeupdate) { 370 super.ontimeupdate(ontimeupdate); 371 return this; 372 } 373 374 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 375 public H2 ontoggle(String ontoggle) { 376 super.ontoggle(ontoggle); 377 return this; 378 } 379 380 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 381 public H2 onvolumechange(String onvolumechange) { 382 super.onvolumechange(onvolumechange); 383 return this; 384 } 385 386 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 387 public H2 onwaiting(String onwaiting) { 388 super.onwaiting(onwaiting); 389 return this; 390 } 391 392 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 393 public H2 spellcheck(Object spellcheck) { 394 super.spellcheck(spellcheck); 395 return this; 396 } 397 398 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 399 public H2 style(String style) { 400 super.style(style); 401 return this; 402 } 403 404 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 405 public H2 tabindex(Object tabindex) { 406 super.tabindex(tabindex); 407 return this; 408 } 409 410 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 411 public H2 title(String title) { 412 super.title(title); 413 return this; 414 } 415 416 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElement */ 417 public H2 translate(Object translate) { 418 super.translate(translate); 419 return this; 420 } 421 422 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElementMixed */ 423 public H2 child(Object child) { 424 super.child(child); 425 return this; 426 } 427 428 @Override /* GENERATED - org.apache.juneau.dto.html5.HtmlElementMixed */ 429 public H2 children(Object...children) { 430 super.children(children); 431 return this; 432 } 433 434 // </FluentSetters> 435}