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