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