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