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