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