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