http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlBuilder.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlBuilder.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlBuilder.java index 8150bec..9273bd3 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlBuilder.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlBuilder.java @@ -17,7 +17,8 @@ package org.apache.juneau.dto.html5; * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> @@ -27,6 +28,7 @@ public class HtmlBuilder { /** * Creates an empty {@link A} element. + * * @return The new element. */ public static final A a() { @@ -34,7 +36,9 @@ public class HtmlBuilder { } /** - * Creates an {@link A} element with the specified {@link A#href(Object)} attribute and {@link A#children(Object[])} nodes. + * Creates an {@link A} element with the specified {@link A#href(Object)} attribute and {@link A#children(Object[])} + * nodes. + * * @param href The {@link A#href(Object)} attribute. * @param children The {@link A#children(Object[])} nodes. * @return The new element. @@ -45,6 +49,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Abbr} element. + * * @return The new element. */ public static final Abbr abbr() { @@ -52,7 +57,9 @@ public class HtmlBuilder { } /** - * Creates an {@link Abbr} element with the specified {@link Abbr#title(String)} attribute and {@link Abbr#children(Object[])} nodes. + * Creates an {@link Abbr} element with the specified {@link Abbr#title(String)} attribute and + * {@link Abbr#children(Object[])} nodes. + * * @param title The {@link Abbr#title(String)} attribute. * @param children The {@link Abbr#children(Object[])} nodes. * @return The new element. @@ -63,6 +70,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Address} element. + * * @return The new element. */ public static final Address address() { @@ -71,6 +79,7 @@ public class HtmlBuilder { /** * Creates an {@link Address} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -80,6 +89,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Area} element. + * * @return The new element. */ public static final Area area() { @@ -87,7 +97,9 @@ public class HtmlBuilder { } /** - * Creates an {@link Area} element with the specified {@link Area#shape(String)}, {@link Area#coords(String)}, and {@link Area#href(Object)} attributes. + * Creates an {@link Area} element with the specified {@link Area#shape(String)}, {@link Area#coords(String)}, + * and {@link Area#href(Object)} attributes. + * * @param shape The {@link Area#shape(String)} attribute. * @param coords The {@link Area#coords(String)} attribute. * @param href The {@link Area#href(Object)} attribute. @@ -99,6 +111,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Article} element. + * * @return The new element. */ public static final Article article() { @@ -107,6 +120,7 @@ public class HtmlBuilder { /** * Creates an {@link Article} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -116,6 +130,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Aside} element. + * * @return The new element. */ public static final Aside aside() { @@ -124,6 +139,7 @@ public class HtmlBuilder { /** * Creates an {@link Aside} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -133,6 +149,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Audio} element. + * * @return The new element. */ public static final Audio audio() { @@ -141,6 +158,7 @@ public class HtmlBuilder { /** * Creates an {@link Audio} element with the specified {@link Audio#src(Object)} attribute. + * * @param src The {@link Audio#src(Object)} attribute. * @return The new element. */ @@ -150,6 +168,7 @@ public class HtmlBuilder { /** * Creates an empty {@link B} element. + * * @return The new element. */ public static final B b() { @@ -158,6 +177,7 @@ public class HtmlBuilder { /** * Creates a {@link B} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -167,6 +187,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Base} element. + * * @return The new element. */ public static final Base base() { @@ -175,6 +196,7 @@ public class HtmlBuilder { /** * Creates a {@link Base} element with the specified {@link Base#href(Object)} attribute. + * * @param href The {@link Base#href(Object)} attribute. * @return The new element. */ @@ -184,6 +206,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Bdi} element. + * * @return The new element. */ public static final Bdi bdi() { @@ -192,6 +215,7 @@ public class HtmlBuilder { /** * Creates a {@link Bdi} element with the specified {@link Bdi#text(Object)} node. + * * @param text The {@link Bdi#text(Object)} node. * @return The new element. */ @@ -201,6 +225,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Bdo} element. + * * @return The new element. */ public static final Bdo bdo() { @@ -209,6 +234,7 @@ public class HtmlBuilder { /** * Creates a {@link Bdo} element with the specified {@link Bdo#dir(String)} attribute and child nodes. + * * @param dir The {@link Bdo#dir(String)} attribute. * @param children The child nodes. * @return The new element. @@ -219,6 +245,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Blockquote} element. + * * @return The new element. */ public static final Blockquote blockquote() { @@ -227,6 +254,7 @@ public class HtmlBuilder { /** * Creates a {@link Blockquote} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -236,6 +264,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Body} element. + * * @return The new element. */ public static final Body body() { @@ -244,6 +273,7 @@ public class HtmlBuilder { /** * Creates a {@link Body} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -253,6 +283,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Br} element. + * * @return The new element. */ public static final Br br() { @@ -261,6 +292,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Button} element. + * * @return The new element. */ public static final Button button() { @@ -269,6 +301,7 @@ public class HtmlBuilder { /** * Creates a {@link Button} element with the specified {@link Button#type(String)} attribute. + * * @param type The {@link Button#type(String)} attribute. * @return The new element. */ @@ -277,7 +310,9 @@ public class HtmlBuilder { } /** - * Creates a {@link Button} element with the specified {@link Button#type(String)} attribute and {@link Button#children(Object[])} nodes. + * Creates a {@link Button} element with the specified {@link Button#type(String)} attribute and + * {@link Button#children(Object[])} nodes. + * * @param type The {@link Button#type(String)} attribute. * @param children The {@link Button#children(Object[])} nodes. * @return The new element. @@ -295,7 +330,9 @@ public class HtmlBuilder { } /** - * Creates a {@link Canvas} element with the specified {@link Canvas#width(Object)} and {@link Canvas#height(Object)} attributes. + * Creates a {@link Canvas} element with the specified {@link Canvas#width(Object)} and + * {@link Canvas#height(Object)} attributes. + * * @param width The {@link Canvas#width(Object)} attribute. * @param height The {@link Canvas#height(Object)} attribute. * @return The new element. @@ -306,6 +343,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Caption} element. + * * @return The new element. */ public static final Caption caption() { @@ -314,6 +352,7 @@ public class HtmlBuilder { /** * Creates a {@link Caption} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -323,6 +362,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Cite} element. + * * @return The new element. */ public static final Cite cite() { @@ -331,6 +371,7 @@ public class HtmlBuilder { /** * Creates a {@link Cite} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -340,6 +381,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Code} element. + * * @return The new element. */ public static final Code code() { @@ -348,6 +390,7 @@ public class HtmlBuilder { /** * Creates a {@link Code} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -357,7 +400,9 @@ public class HtmlBuilder { /** * Creates an empty {@link Col} element. + * * @return The new element. + * */ public static final Col col() { return new Col(); @@ -365,6 +410,7 @@ public class HtmlBuilder { /** * Creates a {@link Col} element with the specified {@link Col#span(Object)} attribute. + * * @param span The {@link Col#span(Object)} attribute. * @return The new element. */ @@ -374,6 +420,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Colgroup} element. + * * @return The new element. */ public static final Colgroup colgroup() { @@ -382,6 +429,7 @@ public class HtmlBuilder { /** * Creates a {@link Colgroup} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -391,6 +439,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Data} element. + * * @return The new element. */ public static final Data data() { @@ -399,6 +448,7 @@ public class HtmlBuilder { /** * Creates a {@link Data} element with the specified {@link Data#value(Object)} attribute and child node. + * * @param value The {@link Data#value(Object)} attribute. * @param child The child node. * @return The new element. @@ -409,6 +459,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Datalist} element. + * * @return The new element. */ public static final Datalist datalist() { @@ -417,6 +468,7 @@ public class HtmlBuilder { /** * Creates a {@link Datalist} element with the specified {@link Datalist#id(String)} attribute and child nodes. + * * @param id The {@link Datalist#id(String)} attribute. * @param children The child nodes. * @return The new element. @@ -427,6 +479,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Dd} element. + * * @return The new element. */ public static final Dd dd() { @@ -435,6 +488,7 @@ public class HtmlBuilder { /** * Creates a {@link Dd} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -444,6 +498,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Del} element. + * * @return The new element. */ public static final Del del() { @@ -452,6 +507,7 @@ public class HtmlBuilder { /** * Creates a {@link Del} element with the specified {@link Del#children(Object[])} node. + * * @param children The {@link Del#children(Object[])} node. * @return The new element. */ @@ -461,6 +517,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Dfn} element. + * * @return The new element. */ public static final Dfn dfn() { @@ -469,6 +526,7 @@ public class HtmlBuilder { /** * Creates a {@link Dfn} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -478,6 +536,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Div} element. + * * @return The new element. */ public static final Div div() { @@ -486,6 +545,7 @@ public class HtmlBuilder { /** * Creates a {@link Div} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -495,6 +555,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Dl} element. + * * @return The new element. */ public static final Dl dl() { @@ -503,6 +564,7 @@ public class HtmlBuilder { /** * Creates a {@link Dl} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -512,6 +574,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Dt} element. + * * @return The new element. */ public static final Dt dt() { @@ -520,6 +583,7 @@ public class HtmlBuilder { /** * Creates a {@link Dt} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -529,6 +593,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Em} element. + * * @return The new element. */ public static final Em em() { @@ -537,6 +602,7 @@ public class HtmlBuilder { /** * Creates an {@link Em} element with the specified {@link Em#children(Object[])} nodes. + * * @param children The {@link Em#children(Object[])} nodes. * @return The new element. */ @@ -546,6 +612,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Embed} element. + * * @return The new element. */ public static final Embed embed() { @@ -554,6 +621,7 @@ public class HtmlBuilder { /** * Creates an {@link Embed} element with the specified {@link Embed#src(Object)} attribute. + * * @param src The {@link Embed#src(Object)} attribute. * @return The new element. */ @@ -563,6 +631,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Fieldset} element. + * * @return The new element. */ public static final Fieldset fieldset() { @@ -571,6 +640,7 @@ public class HtmlBuilder { /** * Creates a {@link Fieldset} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -580,6 +650,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Figcaption} element. + * * @return The new element. */ public static final Figcaption figcaption() { @@ -588,6 +659,7 @@ public class HtmlBuilder { /** * Creates a {@link Figcaption} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -597,6 +669,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Figure} element. + * * @return The new element. */ public static final Figure figure() { @@ -605,6 +678,7 @@ public class HtmlBuilder { /** * Creates a {@link Figure} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -614,6 +688,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Footer} element. + * * @return The new element. */ public static final Footer footer() { @@ -622,6 +697,7 @@ public class HtmlBuilder { /** * Creates a {@link Footer} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -631,6 +707,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Form} element. + * * @return The new element. */ public static final Form form() { @@ -639,6 +716,7 @@ public class HtmlBuilder { /** * Creates a {@link Form} element with the specified {@link Form#action(String)} attribute. + * * @param action The {@link Form#action(String)} attribute. * @return The new element. */ @@ -648,6 +726,7 @@ public class HtmlBuilder { /** * Creates an {@link Form} element with the specified {@link Form#action(String)} attribute and child nodes. + * * @param action The {@link Form#action(String)} attribute. * @param children The child nodes. * @return The new element. @@ -658,6 +737,7 @@ public class HtmlBuilder { /** * Creates an empty {@link H1} element. + * * @return The new element. */ public static final H1 h1() { @@ -666,6 +746,7 @@ public class HtmlBuilder { /** * Creates an {@link H1} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -675,6 +756,7 @@ public class HtmlBuilder { /** * Creates an empty {@link H2} element. + * * @return The new element. */ public static final H2 h2() { @@ -683,6 +765,7 @@ public class HtmlBuilder { /** * Creates an {@link H2} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -692,6 +775,7 @@ public class HtmlBuilder { /** * Creates an empty {@link H3} element. + * * @return The new element. */ public static final H3 h3() { @@ -700,6 +784,7 @@ public class HtmlBuilder { /** * Creates an {@link H3} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -709,6 +794,7 @@ public class HtmlBuilder { /** * Creates an empty {@link H4} element. + * * @return The new element. */ public static final H4 h4() { @@ -717,6 +803,7 @@ public class HtmlBuilder { /** * Creates an {@link H4} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -726,6 +813,7 @@ public class HtmlBuilder { /** * Creates an empty {@link H5} element. + * * @return The new element. */ public static final H5 h5() { @@ -734,6 +822,7 @@ public class HtmlBuilder { /** * Creates an {@link H5} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -751,6 +840,7 @@ public class HtmlBuilder { /** * Creates an {@link H6} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -760,6 +850,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Head} element. + * * @return The new element. */ public static final Head head() { @@ -768,6 +859,7 @@ public class HtmlBuilder { /** * Creates a {@link Head} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -777,6 +869,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Header} element. + * * @return The new element. */ public static final Header header() { @@ -785,6 +878,7 @@ public class HtmlBuilder { /** * Creates a {@link Header} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -794,6 +888,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Hr} element. + * * @return The new element. */ public static final Hr hr() { @@ -802,6 +897,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Html} element. + * * @return The new element. */ public static final Html html() { @@ -810,6 +906,7 @@ public class HtmlBuilder { /** * Creates an {@link Html} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -819,6 +916,7 @@ public class HtmlBuilder { /** * Creates an empty {@link I} element. + * * @return The new element. */ public static final I i() { @@ -827,6 +925,7 @@ public class HtmlBuilder { /** * Creates an {@link I} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -836,6 +935,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Iframe} element. + * * @return The new element. */ public static final Iframe iframe() { @@ -844,6 +944,7 @@ public class HtmlBuilder { /** * Creates an {@link Iframe} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -853,6 +954,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Img} element. + * * @return The new element. */ public static final Img img() { @@ -861,6 +963,7 @@ public class HtmlBuilder { /** * Creates an {@link Img} element with the specified {@link Img#src(Object)} attribute. + * * @param src The {@link Img#src(Object)} attribute. * @return The new element. */ @@ -870,6 +973,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Input} element. + * * @return The new element. */ public static final Input input() { @@ -878,6 +982,7 @@ public class HtmlBuilder { /** * Creates an {@link Input} element with the specified {@link Input#type(String)} attribute. + * * @param type The {@link Input#type(String)} attribute. * @return The new element. */ @@ -887,6 +992,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Ins} element. + * * @return The new element. */ public static final Ins ins() { @@ -895,6 +1001,7 @@ public class HtmlBuilder { /** * Creates an {@link Ins} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -904,6 +1011,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Kbd} element. + * * @return The new element. */ public static final Kbd kbd() { @@ -912,6 +1020,7 @@ public class HtmlBuilder { /** * Creates a {@link Kbd} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -921,6 +1030,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Keygen} element. + * * @return The new element. */ public static final Keygen keygen() { @@ -929,6 +1039,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Label} element. + * * @return The new element. */ public static final Label label() { @@ -937,6 +1048,7 @@ public class HtmlBuilder { /** * Creates a {@link Label} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -946,6 +1058,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Legend} element. + * * @return The new element. */ public static final Legend legend() { @@ -954,6 +1067,7 @@ public class HtmlBuilder { /** * Creates a {@link Legend} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -963,6 +1077,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Li} element. + * * @return The new element. */ public static final Li li() { @@ -971,6 +1086,7 @@ public class HtmlBuilder { /** * Creates an {@link Li} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -980,6 +1096,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Link} element. + * * @return The new element. */ public static final Link link() { @@ -988,6 +1105,7 @@ public class HtmlBuilder { /** * Creates a {@link Link} element with the specified {@link Link#href(Object)} attribute. + * * @param href The {@link Link#href(Object)} attribute. * @return The new element. */ @@ -997,6 +1115,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Main} element. + * * @return The new element. */ public static final Main main() { @@ -1005,6 +1124,7 @@ public class HtmlBuilder { /** * Creates a {@link Main} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1014,6 +1134,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Map} element. + * * @return The new element. */ public static final Map map() { @@ -1022,6 +1143,7 @@ public class HtmlBuilder { /** * Creates a {@link Map} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1031,6 +1153,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Mark} element. + * * @return The new element. */ public static final Mark mark() { @@ -1039,6 +1162,7 @@ public class HtmlBuilder { /** * Creates a {@link Mark} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1048,6 +1172,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Meta} element. + * * @return The new element. */ public static final Meta meta() { @@ -1056,6 +1181,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Meter} element. + * * @return The new element. */ public static final Meter meter() { @@ -1064,6 +1190,7 @@ public class HtmlBuilder { /** * Creates a {@link Meter} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1073,6 +1200,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Nav} element. + * * @return The new element. */ public static final Nav nav() { @@ -1081,6 +1209,7 @@ public class HtmlBuilder { /** * Creates a {@link Nav} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1090,6 +1219,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Noscript} element. + * * @return The new element. */ public static final Noscript noscript() { @@ -1098,6 +1228,7 @@ public class HtmlBuilder { /** * Creates a {@link Noscript} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1107,6 +1238,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Object2} element. + * * @return The new element. */ public static final Object2 object() { @@ -1115,6 +1247,7 @@ public class HtmlBuilder { /** * Creates an {@link Object2} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1124,6 +1257,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Ol} element. + * * @return The new element. */ public static final Ol ol() { @@ -1132,6 +1266,7 @@ public class HtmlBuilder { /** * Creates an {@link Ol} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1141,6 +1276,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Optgroup} element. + * * @return The new element. */ public static final Optgroup optgroup() { @@ -1149,6 +1285,7 @@ public class HtmlBuilder { /** * Creates an {@link Optgroup} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1158,6 +1295,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Option} element. + * * @return The new element. */ public static final Option option() { @@ -1166,6 +1304,7 @@ public class HtmlBuilder { /** * Creates an {@link Option} element with the specified {@link Option#value(Object)} attribute. + * * @param value The {@link Option#value(Object)} attribute. * @return The new element. */ @@ -1174,7 +1313,9 @@ public class HtmlBuilder { } /** - * Creates an {@link Option} element with the specified {@link Option#value(Object)} attribute and {@link Option#text(Object)} node. + * Creates an {@link Option} element with the specified {@link Option#value(Object)} attribute and + * {@link Option#text(Object)} node. + * * @param value The {@link Option#value(Object)} attribute. * @param text The {@link Option#text(Object)} node. * @return The new element. @@ -1185,6 +1326,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Output} element. + * * @return The new element. */ public static final Output output() { @@ -1193,6 +1335,7 @@ public class HtmlBuilder { /** * Creates an {@link Output} element with the specified {@link Output#name(String)} attribute. + * * @param name The {@link Output#name(String)} attribute. * @return The new element. */ @@ -1202,6 +1345,7 @@ public class HtmlBuilder { /** * Creates an empty {@link P} element. + * * @return The new element. */ public static final P p() { @@ -1210,6 +1354,7 @@ public class HtmlBuilder { /** * Creates a {@link P} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1219,6 +1364,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Param} element. + * * @return The new element. */ public static final Param param() { @@ -1226,7 +1372,9 @@ public class HtmlBuilder { } /** - * Creates a {@link Param} element with the specified {@link Param#name(String)} and {@link Param#value(Object)} attributes. + * Creates a {@link Param} element with the specified {@link Param#name(String)} and {@link Param#value(Object)} + * attributes. + * * @param name The {@link Param#name(String)} attribute. * @param value The {@link Param#value(Object)} attribute. * @return The new element. @@ -1237,6 +1385,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Pre} element. + * * @return The new element. */ public static final Pre pre() { @@ -1245,6 +1394,7 @@ public class HtmlBuilder { /** * Creates a {@link Pre} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1254,6 +1404,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Progress} element. + * * @return The new element. */ public static final Progress progress() { @@ -1262,6 +1413,7 @@ public class HtmlBuilder { /** * Creates a {@link Progress} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1271,6 +1423,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Q} element. + * * @return The new element. */ public static final Q q() { @@ -1279,6 +1432,7 @@ public class HtmlBuilder { /** * Creates a {@link Q} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1288,6 +1442,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Rb} element. + * * @return The new element. */ public static final Rb rb() { @@ -1296,6 +1451,7 @@ public class HtmlBuilder { /** * Creates a {@link Rb} element with the specified {@link Rb#children(Object[])} nodes. + * * @param children The {@link Rb#children(Object[])} nodes. * @return The new element. */ @@ -1305,6 +1461,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Rp} element. + * * @return The new element. */ public static final Rp rp() { @@ -1313,6 +1470,7 @@ public class HtmlBuilder { /** * Creates a {@link Rp} element with the specified {@link Rp#children(Object[])} nodes. + * * @param children The {@link Rp#children(Object[])} nodes. * @return The new element. */ @@ -1322,6 +1480,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Rt} element. + * * @return The new element. */ public static final Rt rt() { @@ -1330,6 +1489,7 @@ public class HtmlBuilder { /** * Creates a {@link Rt} element with the specified {@link Rt#children(Object[])} nodes. + * * @param children The {@link Rt#children(Object[])} nodes. * @return The new element. */ @@ -1339,6 +1499,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Rtc} element. + * * @return The new element. */ public static final Rtc rtc() { @@ -1347,6 +1508,7 @@ public class HtmlBuilder { /** * Creates an {@link Rtc} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1356,6 +1518,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Ruby} element. + * * @return The new element. */ public static final Ruby ruby() { @@ -1364,6 +1527,7 @@ public class HtmlBuilder { /** * Creates a {@link Ruby} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1373,6 +1537,7 @@ public class HtmlBuilder { /** * Creates an empty {@link S} element. + * * @return The new element. */ public static final S s() { @@ -1381,6 +1546,7 @@ public class HtmlBuilder { /** * Creates an {@link S} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1390,6 +1556,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Samp} element. + * * @return The new element. */ public static final Samp samp() { @@ -1398,6 +1565,7 @@ public class HtmlBuilder { /** * Creates a {@link Samp} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1407,6 +1575,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Script} element. + * * @return The new element. */ public static final Script script() { @@ -1414,7 +1583,9 @@ public class HtmlBuilder { } /** - * Creates a {@link Script} element with the specified {@link Script#type(String)} attribute and {@link Script#text(Object)} node. + * Creates a {@link Script} element with the specified {@link Script#type(String)} attribute and + * {@link Script#text(Object)} node. + * * @param type The {@link Script#type(String)} attribute. * @param text The child text node. * @return The new element. @@ -1425,6 +1596,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Section} element. + * * @return The new element. */ public static final Section section() { @@ -1433,6 +1605,7 @@ public class HtmlBuilder { /** * Creates a {@link Section} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1442,6 +1615,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Select} element. + * * @return The new element. */ public static final Select select() { @@ -1450,6 +1624,7 @@ public class HtmlBuilder { /** * Creates a {@link Select} element with the specified {@link Select#name(String)} attribute and child nodes. + * * @param name The {@link Select#name(String)} attribute. * @param children The child nodes. * @return The new element. @@ -1460,6 +1635,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Small} element. + * * @return The new element. */ public static final Small small() { @@ -1468,6 +1644,7 @@ public class HtmlBuilder { /** * Creates a {@link Small} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1477,6 +1654,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Source} element. + * * @return The new element. */ public static final Source source() { @@ -1484,7 +1662,9 @@ public class HtmlBuilder { } /** - * Creates a {@link Source} element with the specified {@link Source#src(Object)} and {@link Source#type(String)} attributes. + * Creates a {@link Source} element with the specified {@link Source#src(Object)} and {@link Source#type(String)} + * attributes. + * * @param src The {@link Source#src(Object)} attribute. * @param type The {@link Source#type(String)} attribute. * @return The new element. @@ -1495,6 +1675,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Span} element. + * * @return The new element. */ public static final Span span() { @@ -1503,6 +1684,7 @@ public class HtmlBuilder { /** * Creates a {@link Span} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1512,6 +1694,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Strong} element. + * * @return The new element. */ public static final Strong strong() { @@ -1520,6 +1703,7 @@ public class HtmlBuilder { /** * Creates a {@link Strong} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1529,6 +1713,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Style} element. + * * @return The new element. */ public static final Style style() { @@ -1537,6 +1722,7 @@ public class HtmlBuilder { /** * Creates a {@link Style} element with the specified {@link Style#text(Object)} node. + * * @param text The {@link Style#text(Object)} node. * @return The new element. */ @@ -1546,6 +1732,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Sub} element. + * * @return The new element. */ public static final Sub sub() { @@ -1554,6 +1741,7 @@ public class HtmlBuilder { /** * Creates a {@link Sub} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1563,6 +1751,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Sup} element. + * * @return The new element. */ public static final Sup sup() { @@ -1571,6 +1760,7 @@ public class HtmlBuilder { /** * Creates a {@link Sup} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1580,6 +1770,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Table} element. + * * @return The new element. */ public static final Table table() { @@ -1588,6 +1779,7 @@ public class HtmlBuilder { /** * Creates a {@link Table} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1597,6 +1789,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Tbody} element. + * * @return The new element. */ public static final Tbody tbody() { @@ -1605,6 +1798,7 @@ public class HtmlBuilder { /** * Creates a {@link Tbody} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1614,6 +1808,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Td} element. + * * @return The new element. */ public static final Td td() { @@ -1622,6 +1817,7 @@ public class HtmlBuilder { /** * Creates a {@link Td} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1631,6 +1827,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Template} element. + * * @return The new element. */ public static final Template template() { @@ -1639,6 +1836,7 @@ public class HtmlBuilder { /** * Creates a {@link Template} element with the specified {@link Template#id(String)} attribute and child nodes. + * * @param id The {@link Template#id(String)} attribute. * @param children The child nodes. * @return The new element. @@ -1649,6 +1847,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Textarea} element. + * * @return The new element. */ public static final Textarea textarea() { @@ -1656,7 +1855,9 @@ public class HtmlBuilder { } /** - * Creates a {@link Textarea} element with the specified {@link Textarea#name(String)} attribute and {@link Textarea#text(Object)} node. + * Creates a {@link Textarea} element with the specified {@link Textarea#name(String)} attribute and + * {@link Textarea#text(Object)} node. + * * @param name The {@link Textarea#name(String)} attribute. * @param text The {@link Textarea#text(Object)} node. * @return The new element. @@ -1667,6 +1868,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Tfoot} element. + * * @return The new element. */ public static final Tfoot tfoot() { @@ -1675,6 +1877,7 @@ public class HtmlBuilder { /** * Creates a {@link Tfoot} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1684,6 +1887,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Th} element. + * * @return The new element. */ public static final Th th() { @@ -1692,6 +1896,7 @@ public class HtmlBuilder { /** * Creates a {@link Th} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1701,6 +1906,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Thead} element. + * * @return The new element. */ public static final Thead thead() { @@ -1709,6 +1915,7 @@ public class HtmlBuilder { /** * Creates a {@link Thead} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1718,6 +1925,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Time} element. + * * @return The new element. */ public static final Time time() { @@ -1726,6 +1934,7 @@ public class HtmlBuilder { /** * Creates a {@link Time} element with the specified {@link Time#children(Object[])} nodes. + * * @param children The {@link Time#children(Object[])} nodes. * @return The new element. */ @@ -1735,6 +1944,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Title} element. + * * @return The new element. */ public static final Title title() { @@ -1743,6 +1953,7 @@ public class HtmlBuilder { /** * Creates a {@link Title} element with the specified {@link Title#text(Object)} node. + * * @param text The {@link Title#text(Object)} node. * @return The new element. */ @@ -1752,6 +1963,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Tr} element. + * * @return The new element. */ public static final Tr tr() { @@ -1760,6 +1972,7 @@ public class HtmlBuilder { /** * Creates a {@link Tr} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1769,6 +1982,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Track} element. + * * @return The new element. */ public static final Track track() { @@ -1776,7 +1990,9 @@ public class HtmlBuilder { } /** - * Creates a {@link Track} element with the specified {@link Track#src(Object)} and {@link Track#kind(String)} attributes. + * Creates a {@link Track} element with the specified {@link Track#src(Object)} and {@link Track#kind(String)} + * attributes. + * * @param src The {@link Track#src(Object)} attribute. * @param kind The {@link Track#kind(String)} attribute. * @return The new element. @@ -1787,6 +2003,7 @@ public class HtmlBuilder { /** * Creates an empty {@link U} element. + * * @return The new element. */ public static final U u() { @@ -1795,6 +2012,7 @@ public class HtmlBuilder { /** * Creates a {@link U} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1804,6 +2022,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Ul} element. + * * @return The new element. */ public static final Ul ul() { @@ -1812,6 +2031,7 @@ public class HtmlBuilder { /** * Creates a {@link Ul} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1821,6 +2041,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Var} element. + * * @return The new element. */ public static final Var var() { @@ -1829,6 +2050,7 @@ public class HtmlBuilder { /** * Creates a {@link Var} element with the specified child nodes. + * * @param children The child nodes. * @return The new element. */ @@ -1838,6 +2060,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Video} element. + * * @return The new element. */ public static final Video video() { @@ -1846,6 +2069,7 @@ public class HtmlBuilder { /** * Creates a {@link Video} element with the specified {@link Video#src(Object)} attribute. + * * @param src The {@link Video#src(Object)} attribute. * @return The new element. */ @@ -1855,6 +2079,7 @@ public class HtmlBuilder { /** * Creates an empty {@link Wbr} element. + * * @return The new element. */ public static final Wbr wbr() {
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElement.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElement.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElement.java index 831db27..9c63665 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElement.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElement.java @@ -33,7 +33,8 @@ import org.apache.juneau.xml.annotation.*; * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> @@ -46,6 +47,7 @@ public abstract class HtmlElement { /** * The attributes of this element. + * * @return The attributes of this element. */ @Xml(format=ATTRS) @@ -56,6 +58,7 @@ public abstract class HtmlElement { /** * Sets the attributes for this element. + * * @param attrs The new attributes for this element. * @return This object (for method chaining). */ @@ -72,9 +75,9 @@ public abstract class HtmlElement { /** * Adds an arbitrary attribute to this element. + * * @param key The attribute name. * @param val The attribute value. - * * @return This object (for method chaining). */ public HtmlElement attr(String key, Object val) { @@ -122,7 +125,7 @@ public abstract class HtmlElement { * Returns the attribute with the specified name converted to the specified class type. * * @param type The class type to convert this class to. - * See {@link ObjectUtils} for a list of supported conversion types. + * See {@link ObjectUtils} for a list of supported conversion types. * @param key The attribute name. * @return The attribute value, or <jk>null</jk> if the named attribute does not exist. */ @@ -131,7 +134,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/editing.html#the-accesskey-attribute">accesskey</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/editing.html#the-accesskey-attribute">accesskey</a> + * attribute. + * * @param accesskey The new value for this attribute. * @return This object (for method chaining). */ @@ -142,6 +147,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/dom.html#classes">class</a> attribute. + * * @param _class The new value for this attribute. * @return This object (for method chaining). */ @@ -151,7 +157,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/editing.html#attr-contenteditable">contenteditable</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/editing.html#attr-contenteditable">contenteditable</a> + * attribute. + * * @param contenteditable The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -163,6 +171,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/dom.html#the-dir-attribute">dir</a> attribute. + * * @param dir The new value for this attribute. * @return This object (for method chaining). */ @@ -173,6 +182,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/editing.html#the-hidden-attribute">hidden</a> attribute. + * * @param hidden The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -184,6 +194,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/dom.html#the-id-attribute">id</a> attribute. + * * @param id The new value for this attribute. * @return This object (for method chaining). */ @@ -194,6 +205,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/dom.html#attr-lang">lang</a> attribute. + * * @param lang The new value for this attribute. * @return This object (for method chaining). */ @@ -204,6 +216,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onabort">onabort</a> attribute. + * * @param onabort The new value for this attribute. * @return This object (for method chaining). */ @@ -214,6 +227,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onblur">onblur</a> attribute. + * * @param onblur The new value for this attribute. * @return This object (for method chaining). */ @@ -224,6 +238,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-oncancel">oncancel</a> attribute. + * * @param oncancel The new value for this attribute. * @return This object (for method chaining). */ @@ -234,6 +249,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-oncanplay">oncanplay</a> attribute. + * * @param oncanplay The new value for this attribute. * @return This object (for method chaining). */ @@ -243,7 +259,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-oncanplaythrough">oncanplaythrough</a> attribute. + * <a class="doclink" + * href="https://www.w3.org/TR/html5/webappapis.html#handler-oncanplaythrough">oncanplaythrough</a> attribute. + * * @param oncanplaythrough The new value for this attribute. * @return This object (for method chaining). */ @@ -254,6 +272,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onchange">onchange</a> attribute. + * * @param onchange The new value for this attribute. * @return This object (for method chaining). */ @@ -264,6 +283,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onclick">onclick</a> attribute. + * * @param onclick The new value for this attribute. * @return This object (for method chaining). */ @@ -273,7 +293,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-oncuechange">oncuechange</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-oncuechange">oncuechange</a> + * attribute. + * * @param oncuechange The new value for this attribute. * @return This object (for method chaining). */ @@ -284,6 +306,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-ondblclick">ondblclick</a> attribute. + * * @param ondblclick The new value for this attribute. * @return This object (for method chaining). */ @@ -293,7 +316,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-ondurationchange">ondurationchange</a> attribute. + * <a class="doclink" + * href="https://www.w3.org/TR/html5/webappapis.html#handler-ondurationchange">ondurationchange</a> attribute. + * * @param ondurationchange The new value for this attribute. * @return This object (for method chaining). */ @@ -304,6 +329,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onemptied">onemptied</a> attribute. + * * @param onemptied The new value for this attribute. * @return This object (for method chaining). */ @@ -314,6 +340,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onended">onended</a> attribute. + * * @param onended The new value for this attribute. * @return This object (for method chaining). */ @@ -324,6 +351,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onerror">onerror</a> attribute. + * * @param onerror The new value for this attribute. * @return This object (for method chaining). */ @@ -334,6 +362,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onfocus">onfocus</a> attribute. + * * @param onfocus The new value for this attribute. * @return This object (for method chaining). */ @@ -344,6 +373,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-oninput">oninput</a> attribute. + * * @param oninput The new value for this attribute. * @return This object (for method chaining). */ @@ -354,6 +384,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-oninvalid">oninvalid</a> attribute. + * * @param oninvalid The new value for this attribute. * @return This object (for method chaining). */ @@ -364,6 +395,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onkeydown">onkeydown</a> attribute. + * * @param onkeydown The new value for this attribute. * @return This object (for method chaining). */ @@ -374,6 +406,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onkeypress">onkeypress</a> attribute. + * * @param onkeypress The new value for this attribute. * @return This object (for method chaining). */ @@ -384,6 +417,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onkeyup">onkeyup</a> attribute. + * * @param onkeyup The new value for this attribute. * @return This object (for method chaining). */ @@ -394,6 +428,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onload">onload</a> attribute. + * * @param onload The new value for this attribute. * @return This object (for method chaining). */ @@ -403,7 +438,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onloadeddata">onloadeddata</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onloadeddata">onloadeddata</a> + * attribute. + * * @param onloadeddata The new value for this attribute. * @return This object (for method chaining). */ @@ -413,7 +450,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onloadedmetadata">onloadedmetadata</a> attribute. + * <a class="doclink" + * href="https://www.w3.org/TR/html5/webappapis.html#handler-onloadedmetadata">onloadedmetadata</a> attribute. + * * @param onloadedmetadata The new value for this attribute. * @return This object (for method chaining). */ @@ -423,7 +462,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onloadstart">onloadstart</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onloadstart">onloadstart</a> + * attribute. + * * @param onloadstart The new value for this attribute. * @return This object (for method chaining). */ @@ -433,7 +474,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmousedown">onmousedown</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmousedown">onmousedown</a> + * attribute. + * * @param onmousedown The new value for this attribute. * @return This object (for method chaining). */ @@ -453,7 +496,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmouseleave">onmouseleave</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmouseleave">onmouseleave</a> + * attribute. + * * @param onmouseleave The new value for this attribute. * @return This object (for method chaining). */ @@ -463,7 +508,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmousemove">onmousemove</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmousemove">onmousemove</a> + * attribute. + * * @param onmousemove The new value for this attribute. * @return This object (for method chaining). */ @@ -474,6 +521,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmouseout">onmouseout</a> attribute. + * * @param onmouseout The new value for this attribute. * @return This object (for method chaining). */ @@ -483,7 +531,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmouseover">onmouseover</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmouseover">onmouseover</a> + * attribute. + * * @param onmouseover The new value for this attribute. * @return This object (for method chaining). */ @@ -494,6 +544,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmouseup">onmouseup</a> attribute. + * * @param onmouseup The new value for this attribute. * @return This object (for method chaining). */ @@ -503,7 +554,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmousewheel">onmousewheel</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onmousewheel">onmousewheel</a> + * attribute. + * * @param onmousewheel The new value for this attribute. * @return This object (for method chaining). */ @@ -514,6 +567,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onpause">onpause</a> attribute. + * * @param onpause The new value for this attribute. * @return This object (for method chaining). */ @@ -524,6 +578,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onplay">onplay</a> attribute. + * * @param onplay The new value for this attribute. * @return This object (for method chaining). */ @@ -534,6 +589,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onplaying">onplaying</a> attribute. + * * @param onplaying The new value for this attribute. * @return This object (for method chaining). */ @@ -544,6 +600,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onprogress">onprogress</a> attribute. + * * @param onprogress The new value for this attribute. * @return This object (for method chaining). */ @@ -553,7 +610,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onratechange">onratechange</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onratechange">onratechange</a> + * attribute. + * * @param onratechange The new value for this attribute. * @return This object (for method chaining). */ @@ -564,6 +623,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onreset">onreset</a> attribute. + * * @param onreset The new value for this attribute. * @return This object (for method chaining). */ @@ -574,6 +634,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onresize">onresize</a> attribute. + * * @param onresize The new value for this attribute. * @return This object (for method chaining). */ @@ -584,6 +645,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onscroll">onscroll</a> attribute. + * * @param onscroll The new value for this attribute. * @return This object (for method chaining). */ @@ -594,6 +656,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onseeked">onseeked</a> attribute. + * * @param onseeked The new value for this attribute. * @return This object (for method chaining). */ @@ -604,6 +667,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onseeking">onseeking</a> attribute. + * * @param onseeking The new value for this attribute. * @return This object (for method chaining). */ @@ -614,6 +678,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onselect">onselect</a> attribute. + * * @param onselect The new value for this attribute. * @return This object (for method chaining). */ @@ -624,6 +689,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onshow">onshow</a> attribute. + * * @param onshow The new value for this attribute. * @return This object (for method chaining). */ @@ -634,6 +700,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onstalled">onstalled</a> attribute. + * * @param onstalled The new value for this attribute. * @return This object (for method chaining). */ @@ -644,6 +711,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onsubmit">onsubmit</a> attribute. + * * @param onsubmit The new value for this attribute. * @return This object (for method chaining). */ @@ -654,6 +722,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onsuspend">onsuspend</a> attribute. + * * @param onsuspend The new value for this attribute. * @return This object (for method chaining). */ @@ -663,7 +732,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-ontimeupdate">ontimeupdate</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-ontimeupdate">ontimeupdate</a> + * attribute. + * * @param ontimeupdate The new value for this attribute. * @return This object (for method chaining). */ @@ -674,6 +745,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-ontoggle">ontoggle</a> attribute. + * * @param ontoggle The new value for this attribute. * @return This object (for method chaining). */ @@ -683,7 +755,9 @@ public abstract class HtmlElement { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onvolumechange">onvolumechange</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onvolumechange">onvolumechange</a> + * attribute. + * * @param onvolumechange The new value for this attribute. * @return This object (for method chaining). */ @@ -694,6 +768,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onwaiting">onwaiting</a> attribute. + * * @param onwaiting The new value for this attribute. * @return This object (for method chaining). */ @@ -704,6 +779,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/editing.html#attr-spellcheck">spellcheck</a> attribute. + * * @param spellcheck The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -715,6 +791,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/dom.html#the-style-attribute">style</a> attribute. + * * @param style The new value for this attribute. * @return This object (for method chaining). */ @@ -725,6 +802,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/editing.html#attr-tabindex">tabindex</a> attribute. + * * @param tabindex The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -736,6 +814,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/dom.html#attr-title">title</a> attribute. + * * @param title The new value for this attribute. * @return This object (for method chaining). */ @@ -746,6 +825,7 @@ public abstract class HtmlElement { /** * <a class="doclink" href="https://www.w3.org/TR/html5/dom.html#attr-translate">translate</a> attribute. + * * @param translate The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementContainer.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementContainer.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementContainer.java index 9651ad5..5de9b4c 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementContainer.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementContainer.java @@ -26,7 +26,8 @@ import org.apache.juneau.xml.annotation.*; * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> @@ -38,6 +39,7 @@ public class HtmlElementContainer extends HtmlElement { /** * The children of this element. + * * @return The children of this element. */ @Xml(format=ELEMENTS) @@ -48,6 +50,7 @@ public class HtmlElementContainer extends HtmlElement { /** * Sets the children for this container. + * * @param children The new children for this container. * @return This object (for method chaining). */ @@ -103,11 +106,15 @@ public class HtmlElementContainer extends HtmlElement { * @throws InvalidDataConversionException If node is not the expected type. */ public <T> T getChild(Class<T> type, int index) { - return (children == null || children.size() <= index || index < 0 ? null : ObjectUtils.convertToType(children.get(index), type)); + return (children == null || children.size() <= index || index < 0 + ? null + : ObjectUtils.convertToType(children.get(index), type) + ); } /** * Adds one or more child elements to this element. + * * @param children The children to add as child elements. * @return This object (for method chaining). */ @@ -124,6 +131,7 @@ public class HtmlElementContainer extends HtmlElement { /** * Adds a child element to this element. + * * @param child The child to add as a child element. * @return This object (for method chaining). */ http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementMixed.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementMixed.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementMixed.java index c45a768..fd5e9a6 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementMixed.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementMixed.java @@ -26,7 +26,8 @@ import org.apache.juneau.xml.annotation.*; * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> @@ -38,6 +39,7 @@ public class HtmlElementMixed extends HtmlElement { /** * The children of this element. + * * @return The children of this element. */ @Xml(format=MIXED) @@ -104,11 +106,16 @@ public class HtmlElementMixed extends HtmlElement { * @throws InvalidDataConversionException If node is not the expected type. */ public <T> T getChild(Class<T> type, int index) { - return (children == null || children.size() <= index || index < 0 ? null : ObjectUtils.convertToType(children.get(index), type)); + return ( + children == null || children.size() <= index || index < 0 + ? null + : ObjectUtils.convertToType(children.get(index), type) + ); } /** * Adds one or more child elements to this element. + * * @param children The children to add as child elements. * Can be a mixture of strings and {@link HtmlElement} objects. * @return This object (for method chaining). @@ -126,6 +133,7 @@ public class HtmlElementMixed extends HtmlElement { /** * Adds a child element to this element. + * * @param child The child to add as a child element. * Can be a string or {@link HtmlElement}. * @return This object (for method chaining). http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java index 95bbafa..3e2cfda 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementRawText.java @@ -16,11 +16,13 @@ import org.apache.juneau.annotation.*; import org.apache.juneau.xml.annotation.*; /** - * A subclass of HTML elements that contain <a href="https://www.w3.org/TR/html51/syntax.html#raw-text">raw text</a> only. + * A subclass of HTML elements that contain <a href="https://www.w3.org/TR/html51/syntax.html#raw-text">raw text</a> + * only. * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementText.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementText.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementText.java index aff8252..1b5bc19 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementText.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementText.java @@ -20,7 +20,8 @@ import org.apache.juneau.xml.annotation.*; * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java index bca592d..7629401 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/HtmlElementVoid.java @@ -23,7 +23,8 @@ import org.apache.juneau.xml.annotation.*; * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/I.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/I.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/I.java index a639988..8c66e26 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/I.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/I.java @@ -15,12 +15,14 @@ package org.apache.juneau.dto.html5; import org.apache.juneau.annotation.*; /** - * DTO for an HTML <a class="doclink" href="https://www.w3.org/TR/html5/text-level-semantics.html#the-i-element"><i></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-i-element"><i></a> element. * <p> * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/Iframe.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Iframe.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Iframe.java index 70757a4..d7126f1 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Iframe.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Iframe.java @@ -19,12 +19,14 @@ import org.apache.juneau.*; import org.apache.juneau.annotation.*; /** - * DTO for an HTML <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#the-iframe-element"><iframe></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/embedded-content-0.html#the-iframe-element"><iframe></a> element. * <p> * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> @@ -34,8 +36,10 @@ import org.apache.juneau.annotation.*; public class Iframe extends HtmlElementMixed { /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-height">height</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-height">height</a> + * attribute. * Vertical dimension. + * * @param height The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -48,6 +52,7 @@ public class Iframe extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-iframe-name">name</a> attribute. * Name of nested browsing context. + * * @param name The new value for this attribute. * @return This object (for method chaining). */ @@ -57,8 +62,10 @@ public class Iframe extends HtmlElementMixed { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-iframe-sandbox">sandbox</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-iframe-sandbox">sandbox</a> + * attribute. * Security rules for nested content. + * * @param sandbox The new value for this attribute. * @return This object (for method chaining). */ @@ -86,8 +93,10 @@ public class Iframe extends HtmlElementMixed { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-iframe-srcdoc">srcdoc</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-iframe-srcdoc">srcdoc</a> + * attribute. * A document to render in the iframe. + * * @param srcdoc The new value for this attribute. * @return This object (for method chaining). */ @@ -99,6 +108,7 @@ public class Iframe extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-width">width</a> attribute. * Horizontal dimension. + * * @param width The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/Img.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Img.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Img.java index ab8ea60..4038de4 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Img.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Img.java @@ -19,11 +19,13 @@ import org.apache.juneau.*; import org.apache.juneau.annotation.*; /** - * DTO for an HTML <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#the-img-element"><img></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/embedded-content-0.html#the-img-element"><img></a> element. * * <h6 class='topic'>Additional Information</h6> * <ul class='doctree'> - * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects (org.apache.juneau.dto)</a> + * <li class='link'><a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects + * (org.apache.juneau.dto)</a> * <ul> * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.HTML5'>HTML5</a> * </ul> @@ -35,6 +37,7 @@ public class Img extends HtmlElementVoid { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-img-alt">alt</a> attribute. * Replacement text for use when images are not available. + * * @param alt The new value for this attribute. * @return This object (for method chaining). */ @@ -44,8 +47,10 @@ public class Img extends HtmlElementVoid { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-img-crossorigin">crossorigin</a> attribute. - * How the element handles crossorigin requests. + * <a class="doclink" + * href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-img-crossorigin">crossorigin</a> attribute. + * How the element handles cross-origin requests. + * * @param crossorigin The new value for this attribute. * @return This object (for method chaining). */ @@ -55,8 +60,10 @@ public class Img extends HtmlElementVoid { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-height">height</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-height">height</a> + * attribute. * Vertical dimension. + * * @param height The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -69,6 +76,7 @@ public class Img extends HtmlElementVoid { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-img-ismap">ismap</a> attribute. * Whether the image is a server-side image map. + * * @param ismap The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -97,8 +105,10 @@ public class Img extends HtmlElementVoid { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-hyperlink-usemap">usemap</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-hyperlink-usemap">usemap</a> + * attribute. * Name of image map to use. + * * @param usemap The new value for this attribute. * @return This object (for method chaining). */ @@ -110,6 +120,7 @@ public class Img extends HtmlElementVoid { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-width">width</a> attribute. * Horizontal dimension. + * * @param width The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining).
