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