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