http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/html5/Source.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Source.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Source.java index c820690..5026b2c 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Source.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Source.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-source-element"><source></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/embedded-content-0.html#the-source-element"><source></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> @@ -54,6 +56,7 @@ public class Source extends HtmlElementVoid { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-source-type">type</a> attribute. * Type of embedded resource. + * * @param type The new value for this attribute. * @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/Span.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Span.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Span.java index ad4fd38..80e9cc6 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Span.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Span.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-span-element"><span></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-span-element"><span></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/Strong.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Strong.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Strong.java index 81cddb0..2ebd20e 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Strong.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Strong.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-strong-element"><strong></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-strong-element"><strong></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/Style.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Style.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Style.java index 70a9c90..bfe9f1e 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Style.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Style.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/document-metadata.html#the-style-element"><style></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/document-metadata.html#the-style-element"><style></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> @@ -32,6 +34,7 @@ public class Style extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/document-metadata.html#attr-style-media">media</a> attribute. * Applicable media. + * * @param media The new value for this attribute. * @return This object (for method chaining). */ @@ -43,6 +46,7 @@ public class Style extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/document-metadata.html#attr-style-type">type</a> attribute. * Type of embedded resource. + * * @param type The new value for this attribute. * @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/Sub.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Sub.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Sub.java index da71570..972527e 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Sub.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Sub.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-sub-and-sup-elements"><sub></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-sub-and-sup-elements"><sub></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/Sup.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Sup.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Sup.java index f260819..d81a57f 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Sup.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Sup.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-sub-and-sup-elements"><sup></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-sub-and-sup-elements"><sup></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/Table.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Table.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Table.java index caa72bb..acacb61 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Table.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Table.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/tabular-data.html#the-table-element"><table></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/tabular-data.html#the-table-element"><table></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> @@ -31,7 +33,7 @@ public class Table extends HtmlElementContainer { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-table-border">border</a> attribute. - * //sortable - Enables a sorting interface for the table. + * * @param border 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/Tbody.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tbody.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tbody.java index 94bb728..37e5f1b 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tbody.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tbody.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/tabular-data.html#the-tbody-element"><tbody></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/tabular-data.html#the-tbody-element"><tbody></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/Td.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Td.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Td.java index b249270..2a9f9f0 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Td.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Td.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/tabular-data.html#the-td-element"><td></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/tabular-data.html#the-td-element"><td></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> @@ -32,6 +34,7 @@ public class Td extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-tdth-colspan">colspan</a> attribute. * Number of columns that the cell is to span. + * * @param colspan The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -44,6 +47,7 @@ public class Td extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-tdth-headers">headers</a> attribute. * The header cells for this cell. + * * @param headers The new value for this attribute. * @return This object (for method chaining). */ @@ -55,6 +59,7 @@ public class Td extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-tdth-rowspan">rowspan</a> attribute. * Number of rows that the cell is to span. + * * @param rowspan 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/Template.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Template.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Template.java index 2d02349..7855e89 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Template.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Template.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/scripting-1.html#the-template-element"><template></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/scripting-1.html#the-template-element"><template></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/Textarea.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Textarea.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Textarea.java index ebc5d1f..18223e2 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Textarea.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Textarea.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/forms.html#the-textarea-element"><textarea></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/forms.html#the-textarea-element"><textarea></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> @@ -31,7 +33,8 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fe-autocomplete">autocomplete</a> attribute. - * Hint for form autofill feature. + * Hint for form auto-fill feature. + * * @param autocomplete The new value for this attribute. * @return This object (for method chaining). */ @@ -43,6 +46,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fe-autofocus">autofocus</a> attribute. * Automatically focus the form control when the page is loaded. + * * @param autofocus The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -55,6 +59,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-cols">cols</a> attribute. * Maximum number of characters per line. + * * @param cols The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -67,6 +72,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fe-dirname">dirname</a> attribute. * Name of form field to use for sending the element's directionality in form submission. + * * @param dirname The new value for this attribute. * @return This object (for method chaining). */ @@ -78,6 +84,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fe-disabled">disabled</a> attribute. * Whether the form control is disabled. + * * @param disabled The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -90,6 +97,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fae-form">form</a> attribute. * Associates the control with a form element. + * * @param form The new value for this attribute. * @return This object (for method chaining). */ @@ -99,8 +107,9 @@ public class Textarea extends HtmlElementRawText { } /** - * <a class="doclink" href="-">inputmode</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#inputmode">inputmode</a> attribute. * Hint for selecting an input modality. + * * @param inputmode The new value for this attribute. * @return This object (for method chaining). */ @@ -112,6 +121,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-maxlength">maxlength</a> attribute. * Maximum length of value. + * * @param maxlength The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -124,6 +134,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-minlength">minlength</a> attribute. * Minimum length of value. + * * @param minlength The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -136,6 +147,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fe-name">name</a> attribute. * Name of form control to use for form submission and in the form.elements API. + * * @param name The new value for this attribute. * @return This object (for method chaining). */ @@ -145,8 +157,10 @@ public class Textarea extends HtmlElementRawText { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-placeholder">placeholder</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-placeholder">placeholder</a> + * attribute. * User-visible label to be placed within the form control. + * * @param placeholder The new value for this attribute. * @return This object (for method chaining). */ @@ -158,6 +172,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-readonly">readonly</a> attribute. * Whether to allow the value to be edited by the user. + * * @param readonly The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -170,6 +185,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-required">required</a> attribute. * Whether the control is required for form submission. + * * @param required The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -182,6 +198,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-rows">rows</a> attribute. * Number of lines to show. + * * @param rows The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -194,6 +211,7 @@ public class Textarea extends HtmlElementRawText { /** * <a class="doclink" href="https://www.w3.org/TR/html5/forms.html#attr-textarea-wrap">wrap</a> attribute. * How the value of the form control is to be wrapped for form submission. + * * @param wrap The new value for this attribute. * @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/Tfoot.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tfoot.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tfoot.java index c59a34d..0cc8488 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tfoot.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tfoot.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/tabular-data.html#the-tfoot-element"><tfoot></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/tabular-data.html#the-tfoot-element"><tfoot></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/Th.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Th.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Th.java index a069786..4e3ee7c 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Th.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Th.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/tabular-data.html#the-th-element"><th></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/tabular-data.html#the-th-element"><th></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> @@ -32,6 +34,7 @@ public class Th extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-th-abbr">abbr</a> attribute. * Alternative label to use for the header cell when referencing the cell in other contexts. + * * @param abbr The new value for this attribute. * @return This object (for method chaining). */ @@ -43,6 +46,7 @@ public class Th extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-tdth-colspan">colspan</a> attribute. * Number of columns that the cell is to span. + * * @param colspan The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -55,6 +59,7 @@ public class Th extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-tdth-headers">headers</a> attribute. * The headers for this cell. + * * @param headers The new value for this attribute. * @return This object (for method chaining). */ @@ -66,6 +71,7 @@ public class Th extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-tdth-rowspan">rowspan</a> attribute. * Number of rows that the cell is to span. + * * @param rowspan The new value for this attribute. * Typically a {@link Number} or {@link String}. * @return This object (for method chaining). @@ -78,6 +84,7 @@ public class Th extends HtmlElementMixed { /** * <a class="doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-th-scope">scope</a> attribute. * Specifies which cells the header cell applies to. + * * @param scope The new value for this attribute. * @return This object (for method chaining). */ @@ -89,6 +96,7 @@ public class Th extends HtmlElementMixed { /** * <a class="doclink" href="-">sorted</a> attribute. * Column sort direction and ordinality. + * * @param sorted The new value for this attribute. * @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/Thead.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Thead.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Thead.java index 64343a6..5c945be 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Thead.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Thead.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/tabular-data.html#the-thead-element"><thead></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/tabular-data.html#the-thead-element"><thead></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/Time.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Time.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Time.java index 5738cd8..52cfa51 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Time.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Time.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-time-element"><time></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-time-element"><time></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> @@ -30,8 +32,10 @@ import org.apache.juneau.annotation.*; public class Time extends HtmlElementMixed { /** - * <a class="doclink" href="https://www.w3.org/TR/html5/text-level-semantics.html#attr-time-datetime">datetime</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/text-level-semantics.html#attr-time-datetime">datetime</a> + * attribute. * Machine-readable value. + * * @param datetime The new value for this attribute. * @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/Title.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Title.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Title.java index 63247cb..72e4093 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Title.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Title.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/document-metadata.html#the-title-element"><title></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/document-metadata.html#the-title-element"><title></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/Tr.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tr.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tr.java index 5293983..a31636f 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tr.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Tr.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/tabular-data.html#the-tr-element"><tr></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/tabular-data.html#the-tr-element"><tr></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/Track.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Track.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Track.java index 09c7d57..fabb327 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Track.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Track.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-track-element"><track></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/embedded-content-0.html#the-track-element"><track></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 Track extends HtmlElementVoid { /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-track-default">default</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-track-default">default</a> + * attribute. * Enable the track if no other text track is more suitable. + * * @param _default The new value for this attribute. * @return This object (for method chaining). */ @@ -47,6 +51,7 @@ public class Track extends HtmlElementVoid { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-track-kind">kind</a> attribute. * The type of text track. + * * @param kind The new value for this attribute. * @return This object (for method chaining). */ @@ -58,6 +63,7 @@ public class Track extends HtmlElementVoid { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-track-label">label</a> attribute. * User-visible label. + * * @param label The new value for this attribute. * @return This object (for method chaining). */ @@ -85,8 +91,10 @@ public class Track extends HtmlElementVoid { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-track-srclang">srclang</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-track-srclang">srclang</a> + * attribute. * Language of the text track. + * * @param srclang The new value for this attribute. * @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/U.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/U.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/U.java index 7176612..b66c872 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/U.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/U.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-u-element"><u></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-u-element"><u></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/Ul.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Ul.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Ul.java index f6969fb..9a86da5 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Ul.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Ul.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/grouping-content.html#the-ul-element"><ul></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/grouping-content.html#the-ul-element"><ul></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/Var.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Var.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Var.java index 4a4fc9a..049c220 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Var.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Var.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-var-element"><var></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-var-element"><var></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/Video.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Video.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Video.java index 7e4c6a2..93b9802 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Video.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Video.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-video-element"><video></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/embedded-content-0.html#the-video-element"><video></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 Video extends HtmlElementContainer { /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-autoplay">autoplay</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-autoplay">autoplay</a> + * attribute. * Hint that the media resource can be started automatically when the page is loaded. + * * @param autoplay The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -46,8 +50,10 @@ public class Video extends HtmlElementContainer { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-controls">controls</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-controls">controls</a> + * attribute. * Show user agent controls. + * * @param controls The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -58,8 +64,10 @@ public class Video extends HtmlElementContainer { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-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-media-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). */ @@ -69,8 +77,10 @@ public class Video extends HtmlElementContainer { } /** - * <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). @@ -83,6 +93,7 @@ public class Video extends HtmlElementContainer { /** * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-loop">loop</a> attribute. * Whether to loop the media resource. + * * @param loop The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -93,8 +104,10 @@ public class Video extends HtmlElementContainer { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-mediagroup">mediagroup</a> attribute. + * <a class="doclink" + * href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-mediagroup">mediagroup</a> attribute. * Groups media elements together with an implicit MediaController. + * * @param mediagroup The new value for this attribute. * @return This object (for method chaining). */ @@ -104,8 +117,10 @@ public class Video extends HtmlElementContainer { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-muted">muted</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-muted">muted</a> + * attribute. * Whether to mute the media resource by default. + * * @param muted The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). @@ -116,8 +131,10 @@ public class Video extends HtmlElementContainer { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-video-poster">poster</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-video-poster">poster</a> + * attribute. * Poster frame to show prior to video playback. + * * @param poster The new value for this attribute. * @return This object (for method chaining). */ @@ -127,8 +144,10 @@ public class Video extends HtmlElementContainer { } /** - * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-preload">preload</a> attribute. + * <a class="doclink" href="https://www.w3.org/TR/html5/embedded-content-0.html#attr-media-preload">preload</a> + * attribute. * Hints how much buffering the media resource will likely need. + * * @param preload The new value for this attribute. * @return This object (for method chaining). */ @@ -158,6 +177,7 @@ public class Video extends HtmlElementContainer { /** * <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/Wbr.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Wbr.java b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Wbr.java index bff2e63..8a6612d 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/Wbr.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/Wbr.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-wbr-element"><wbr></a> element. + * DTO for an HTML <a class="doclink" + * href="https://www.w3.org/TR/html5/text-level-semantics.html#the-wbr-element"><wbr></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/package.html ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/html5/package.html b/juneau-core/src/main/java/org/apache/juneau/dto/html5/package.html index aa362c4..2529d7f 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/html5/package.html +++ b/juneau-core/src/main/java/org/apache/juneau/dto/html5/package.html @@ -70,7 +70,9 @@ <h2 class='topic' onclick='toggle(this)'>1 - Overview</h2> <div class='topic'> <p> - Juneau supports generation and consumption of HTML5 documents and fragments through the use of DTOs (Data Transfer Objects).<br> + Juneau supports generation and consumption of HTML5 documents and fragments through the use of DTOs (Data + Transfer Objects). + <br> It uses existing support for serializing and parsing POJOs to and from HTML to define these HTML objects. </p> @@ -81,8 +83,8 @@ <div class='topic'> <p> The Juneau HTML5 DTOs are simply beans with fluent-style setters that allow you to quickly construct HTML - fragments as Java objects. These object can then be serialized to HTML using one of the existing HTML serializers, - or to other languages such as JSON using the JSON serializers. + fragments as Java objects. These object can then be serialized to HTML using one of the existing HTML + serializers, or to other languages such as JSON using the JSON serializers. </p> <p> The {@link org.apache.juneau.dto.html5.HtmlBuilder} class is a utility class with predefined static methods @@ -192,8 +194,10 @@ Object myform = <jsm>form</jsm>().action(<js>"/submit"</js>).method(<js>"POST"</js>) .children( - <js>"Position (1-10000): "</js>, <jsm>input</jsm>(<js>"number"</js>).name(<js>"pos"</js>).value(1), <jsm>br</jsm>(), - <js>"Limit (1-10000): "</js>, <jsm>input</jsm>(<js>"number"</js>).name(<js>"limit"</js>).value(100), <jsm>br</jsm>(), + <js>"Position (1-10000): "</js>, + <jsm>input</jsm>(<js>"number"</js>).name(<js>"pos"</js>).value(1), <jsm>br</jsm>(), + <js>"Limit (1-10000): "</js>, + <jsm>input</jsm>(<js>"number"</js>).name(<js>"limit"</js>).value(100), <jsm>br</jsm>(), <jsm>button</jsm>(<js>"submit"</js>, <js>"Submit"</js>), <jsm>button</jsm>(<js>"reset"</js>, <js>"Reset"</js>) ); @@ -202,8 +206,10 @@ </td> <td class='code'><xt> <form <xa>action</xa>=<xs>'/submit'</xs> <xa>method</xa>=<xs>'POST'</xs>> - <xv>Position (1-10000):</xv> <input <xa>name</xa>=<xs>'pos'</xs> <xa>type</xa>=<xs>'number'</xs> <xa>value</xa>=<xs>'1'</xs>/><br/> - <xv>Limit (1-10000):</xv> <input <xa>name</xa>=<xs>'pos'</xs> <xa>type</xa>=<xs>'number'</xs> <xa>value</xa>=<xs>'100'</xs>/><br/> + <xv>Position (1-10000):</xv> <input <xa>name</xa>=<xs>'pos'</xs> + <xa>type</xa>=<xs>'number'</xs> <xa>value</xa>=<xs>'1'</xs>/><br/> + <xv>Limit (1-10000):</xv> <input <xa>name</xa>=<xs>'pos'</xs> + <xa>type</xa>=<xs>'number'</xs> <xa>value</xa>=<xs>'100'</xs>/><br/> <button <xa>type</xa>=<xs>'submit'</xs>><xv>Submit</xv></button> <button <xa>type</xa>=<xs>'reset'</xs>><xv>Reset</xv></button> </form> @@ -240,11 +246,14 @@ you may want to consider using HTML5 templates. Broadly speaking, a template is simply a bean that gets swapped out with another more complex bean during serialization. - Juneau doesn't have a built-in concept of a "template", but rather has features that allow them to be defined using existing swap support. + Juneau doesn't have a built-in concept of a "template", but rather has features that allow them to be + defined using existing swap support. </p> <p> - The following example shows how an HTML5 form template object can be created that gets serialized as a populated HTML5 {@link org.apache.juneau.dto.html5.Form} bean. - It takes advantage of the special <code>swap(BeanSession)</code> method that serializers will use to convert the object to a serialized form before serialization. + The following example shows how an HTML5 form template object can be created that gets serialized as a + populated HTML5 {@link org.apache.juneau.dto.html5.Form} bean. + It takes advantage of the special <code>swap(BeanSession)</code> method that serializers will use to + convert the object to a serialized form before serialization. The return type of this method can be any serializable type. In this case, we are defining a template for a reusable HTML form with two simple fields. This gets serialized as an HTML form. @@ -288,7 +297,8 @@ </form> </xt></p> <p> - Support for parsing back into the template class can be accomplished by adding an unswap method or constructor. + Support for parsing back into the template class can be accomplished by adding an unswap method or + constructor. </p> <p class='bcode'> <jk>import static</jk> org.apache.juneau.dto.html5.HtmlBuilder.*; @@ -307,8 +317,10 @@ <jc>// Our 'unswap' constructor</jc> <jk>public</jk> FormTemplate(Form f) { <jk>this</jk>.<jf>action</jf> = f.getAttr(<js>"action"</js>); - <jk>this</jk>.<jf>value1</jf> = f.getChild(Input.<jk>class</jk>, 0).getAttr(<jk>int</jk>.<jk>class</jk>, <js>"value"</js>); - <jk>this</jk>.<jf>value2</jf> = f.getChild(Input.<jk>class</jk>, 1).getAttr(<jk>boolean</jk>.<jk>class</jk>, <js>"value"</js>); + <jk>this</jk>.<jf>value1</jf> = f.getChild(Input.<jk>class</jk>, 0) + .getAttr(<jk>int</jk>.<jk>class</jk>, <js>"value"</js>); + <jk>this</jk>.<jf>value2</jf> = f.getChild(Input.<jk>class</jk>, 1) + .getAttr(<jk>boolean</jk>.<jk>class</jk>, <js>"value"</js>); } <jk>public</jk> FormTemplate(String action, <jk>int</jk> value1, <jk>boolean</jk> value2) { @@ -326,7 +338,8 @@ } </p> <p> - Refer to <a class='doclink' href='../../../../../overview-summary.html#Core.SwapMethods'>Swap methods</a> for information about defining swap methods on classes. + Refer to <a class='doclink' href='../../../../../overview-summary.html#Core.SwapMethods'>Swap methods</a> + for information about defining swap methods on classes. </p> </div> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonType.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonType.java b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonType.java index c1abb91..26a8d4e 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonType.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonType.java @@ -27,9 +27,11 @@ package org.apache.juneau.dto.jsonschema; * * <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.JsonSchema'>JSON-Schema</a> + * <li class='sublink'><a class='doclink' href='../../../../../overview-summary.html#DTOs.JsonSchema'> + * JSON-Schema</a> * </ul> * <li class='jp'><a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.jsonschema</a> * </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonTypeArray.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonTypeArray.java b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonTypeArray.java index 39cc98f..3cd6569 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonTypeArray.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/JsonTypeArray.java @@ -20,9 +20,11 @@ import java.util.*; * * <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.JsonSchema'>JSON-Schema</a> + * <li class='sublink'><a class='doclink' + * href='../../../../../overview-summary.html#DTOs.JsonSchema'>JSON-Schema</a> * </ul> * <li class='jp'><a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.jsonschema</a> * </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/Schema.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/Schema.java b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/Schema.java index 550a0b2..1f33d4c 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/Schema.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/Schema.java @@ -30,9 +30,11 @@ import org.apache.juneau.transform.*; * * <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.JsonSchema'>JSON-Schema</a> + * <li class='sublink'><a class='doclink' + * href='../../../../../overview-summary.html#DTOs.JsonSchema'>JSON-Schema</a> * </ul> * <li class='jp'><a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.jsonschema</a> * </ul> @@ -228,7 +230,8 @@ public class Schema { * <p> * Convenience method for returning the <property>type</property> property when it is a {@link JsonType} value. * - * @return The currently set value, or <jk>null</jk> if the property is not set, or is set as a {@link JsonTypeArray}. + * @return The currently set value, or <jk>null</jk> if the property is not set, or is set as a + * {@link JsonTypeArray}. */ @BeanIgnore public JsonType getTypeAsJsonType() { @@ -264,7 +267,9 @@ public class Schema { else if (type instanceof JsonTypeArray) this.typeJsonTypeArray = (JsonTypeArray)type; else - throw new BeanRuntimeException(SchemaProperty.class, "Invalid attribute type ''{0}'' passed in. Must be one of the following: SimpleType, SimpleTypeArray", type.getClass().getName()); + throw new BeanRuntimeException(SchemaProperty.class, + "Invalid attribute type ''{0}'' passed in. Must be one of the following: SimpleType, SimpleTypeArray", + type.getClass().getName()); } return this; } @@ -299,7 +304,11 @@ public class Schema { @Override /* PojoSwap */ public Object unswap(BeanSession session, Object o, ClassMeta<?> hint) throws ParseException { - ClassMeta<?> cm = (o instanceof Collection ? session.getClassMeta(JsonTypeArray.class) : session.getClassMeta(JsonType.class)); + ClassMeta<?> cm = ( + o instanceof Collection + ? session.getClassMeta(JsonTypeArray.class) + : session.getClassMeta(JsonType.class) + ); return session.convertToType(o, cm); } } @@ -307,7 +316,8 @@ public class Schema { /** * Bean property getter: <property>definitions</property>. * - * @return The value of the <property>definitions</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>definitions</property> property on this bean, or <jk>null</jk> if it is not + * set. */ public Map<String,Schema> getDefinitions() { return definitions; @@ -364,9 +374,10 @@ public class Schema { /** * Returns the property with the specified name. * If <property>resolve</property> is <jk>true</jk>, the property object will automatically be - * resolved by calling {@link #resolve()}. + * resolved by calling {@link #resolve()}. * Therefore, <property>getProperty(name, <jk>true</jk>)</property> is equivalent to calling - * <property>getProperty(name).resolve()</property>, except it's safe from a potential <property>NullPointerException</property>. + * <property>getProperty(name).resolve()</property>, except it's safe from a potential + * <property>NullPointerException</property>. * * @param name The property name. * @param resolve If <jk>true</jk>, calls {@link #resolve()} on object before returning. @@ -414,7 +425,8 @@ public class Schema { this.properties = new LinkedHashMap<String,Schema>(); for (Schema p : properties) { if (p.getName() == null) - throw new BeanRuntimeException(Schema.class, "Invalid property passed to Schema.addProperties(). Property name was null."); + throw new BeanRuntimeException(Schema.class, + "Invalid property passed to Schema.addProperties(). Property name was null."); setMasterOn(p); this.properties.put(p.getName(), p); } @@ -424,7 +436,8 @@ public class Schema { /** * Bean property getter: <property>patternProperties</property>. * - * @return The value of the <property>patternProperties</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>patternProperties</property> property on this bean, or <jk>null</jk> if it is + * not set. */ public Map<String,Schema> getPatternProperties() { return patternProperties; @@ -461,7 +474,8 @@ public class Schema { this.patternProperties = new LinkedHashMap<String,Schema>(); for (Schema p : properties) { if (p.getName() == null) - throw new BeanRuntimeException(Schema.class, "Invalid property passed to Schema.addProperties(). Property name was null."); + throw new BeanRuntimeException(Schema.class, + "Invalid property passed to Schema.addProperties(). Property name was null."); setMasterOn(p); this.patternProperties.put(p.getName(), p); } @@ -471,7 +485,8 @@ public class Schema { /** * Bean property getter: <property>dependencies</property>. * - * @return The value of the <property>dependencies</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>dependencies</property> property on this bean, or <jk>null</jk> if it is not + * set. */ public Map<String,Schema> getDependencies() { return dependencies; @@ -559,7 +574,11 @@ public class Schema { @Override /* PojoSwap */ public Object unswap(BeanSession session, Object o, ClassMeta<?> hint) throws ParseException { - ClassMeta<?> cm = (o instanceof Collection ? session.getClassMeta(SchemaArray.class) : session.getClassMeta(Schema.class)); + ClassMeta<?> cm = ( + o instanceof Collection + ? session.getClassMeta(SchemaArray.class) + : session.getClassMeta(Schema.class) + ); return session.convertToType(o, cm); } } @@ -583,7 +602,9 @@ public class Schema { this.itemsSchemaArray = (SchemaArray)items; setMasterOn(this.itemsSchemaArray); } else - throw new BeanRuntimeException(SchemaProperty.class, "Invalid attribute type ''{0}'' passed in. Must be one of the following: Schema, SchemaArray", items.getClass().getName()); + throw new BeanRuntimeException(SchemaProperty.class, + "Invalid attribute type ''{0}'' passed in. Must be one of the following: Schema, SchemaArray", + items.getClass().getName()); } return this; } @@ -645,7 +666,8 @@ public class Schema { /** * Bean property getter: <property>exclusiveMaximum</property>. * - * @return The value of the <property>exclusiveMaximum</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>exclusiveMaximum</property> property on this bean, or <jk>null</jk> if it is + * not set. */ public Boolean isExclusiveMaximum() { return exclusiveMaximum; @@ -685,7 +707,8 @@ public class Schema { /** * Bean property getter: <property>exclusiveMinimum</property>. * - * @return The value of the <property>exclusiveMinimum</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>exclusiveMinimum</property> property on this bean, or <jk>null</jk> if it is + * not set. */ public Boolean isExclusiveMinimum() { return exclusiveMinimum; @@ -765,7 +788,8 @@ public class Schema { /** * Bean property getter: <property>additionalItems</property>. * - * @return The value of the <property>additionalItems</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>additionalItems</property> property on this bean, or <jk>null</jk> if it is + * not set. * Can be either a {@link Boolean} or {@link SchemaArray} depending on what value was used to set it. */ @BeanProperty(swap=BooleanOrSchemaArraySwap.class) @@ -778,7 +802,8 @@ public class Schema { /** * Bean property getter: <property>additionalItems</property>. * <p> - * Convenience method for returning the <property>additionalItems</property> property when it is a {@link Boolean} value. + * Convenience method for returning the <property>additionalItems</property> property when it is a {@link Boolean} + * value. * * @return The currently set value, or <jk>null</jk> if the property is not set, or is set as a {@link SchemaArray}. */ @@ -790,7 +815,8 @@ public class Schema { /** * Bean property getter: <property>additionalItems</property>. * <p> - * Convenience method for returning the <property>additionalItems</property> property when it is a {@link SchemaArray} value. + * Convenience method for returning the <property>additionalItems</property> property when it is a + * {@link SchemaArray} value. * * @return The currently set value, or <jk>null</jk> if the property is not set, or is set as a {@link Boolean}. */ @@ -817,7 +843,9 @@ public class Schema { this.additionalItemsSchemaArray = (SchemaArray)additionalItems; setMasterOn(this.additionalItemsSchemaArray); } else - throw new BeanRuntimeException(SchemaProperty.class, "Invalid attribute type ''{0}'' passed in. Must be one of the following: Boolean, SchemaArray", additionalItems.getClass().getName()); + throw new BeanRuntimeException(SchemaProperty.class, + "Invalid attribute type ''{0}'' passed in. Must be one of the following: Boolean, SchemaArray", + additionalItems.getClass().getName()); } return this; } @@ -825,7 +853,8 @@ public class Schema { /** * Bean property appender: <property>additionalItems</property>. * - * @param additionalItems The list of items to append to the <property>additionalItems</property> property on this bean. + * @param additionalItems The list of items to append to the <property>additionalItems</property> property on this + * bean. * @return This object (for method chaining). */ public Schema addAdditionalItems(Schema...additionalItems) { @@ -853,7 +882,11 @@ public class Schema { @Override /* PojoSwap */ public Object unswap(BeanSession session, Object o, ClassMeta<?> hint) throws ParseException { - ClassMeta<?> cm = (o instanceof Collection ? session.getClassMeta(SchemaArray.class) : session.getClassMeta(Boolean.class)); + ClassMeta<?> cm = ( + o instanceof Collection + ? session.getClassMeta(SchemaArray.class) + : session.getClassMeta(Boolean.class) + ); return session.convertToType(o, cm); } } @@ -901,7 +934,8 @@ public class Schema { /** * Bean property getter: <property>uniqueItems</property>. * - * @return The value of the <property>uniqueItems</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>uniqueItems</property> property on this bean, or <jk>null</jk> if it is not + * set. */ public Boolean getUniqueItems() { return uniqueItems; @@ -921,7 +955,8 @@ public class Schema { /** * Bean property getter: <property>maxProperties</property>. * - * @return The value of the <property>maxProperties</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>maxProperties</property> property on this bean, or <jk>null</jk> if it is not + * set. */ public Integer getMaxProperties() { return maxProperties; @@ -941,7 +976,8 @@ public class Schema { /** * Bean property getter: <property>minProperties</property>. * - * @return The value of the <property>minProperties</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>minProperties</property> property on this bean, or <jk>null</jk> if it is not + * set. */ public Integer getMinProperties() { return minProperties; @@ -1023,7 +1059,8 @@ public class Schema { /** * Bean property getter: <property>additionalProperties</property>. * - * @return The value of the <property>additionalProperties</property> property on this bean, or <jk>null</jk> if it is not set. + * @return The value of the <property>additionalProperties</property> property on this bean, or <jk>null</jk> if it + * is not set. * Can be either a {@link Boolean} or {@link SchemaArray} depending on what value was used to set it. */ @BeanProperty(swap=BooleanOrSchemaSwap.class) @@ -1036,7 +1073,8 @@ public class Schema { /** * Bean property getter: <property>additionalProperties</property>. * <p> - * Convenience method for returning the <property>additionalProperties</property> property when it is a {@link Boolean} value. + * Convenience method for returning the <property>additionalProperties</property> property when it is a + * {@link Boolean} value. * * @return The currently set value, or <jk>null</jk> if the property is not set, or is set as a {@link Schema}. */ @@ -1048,7 +1086,8 @@ public class Schema { /** * Bean property getter: <property>additionalProperties</property>. * <p> - * Convenience method for returning the <property>additionalProperties</property> property when it is a {@link Schema} value. + * Convenience method for returning the <property>additionalProperties</property> property when it is a + * {@link Schema} value. * * @return The currently set value, or <jk>null</jk> if the property is not set, or is set as a {@link Boolean}. */ @@ -1076,7 +1115,9 @@ public class Schema { this.additionalPropertiesSchema = (Schema)additionalProperties; setMasterOn(this.additionalPropertiesSchema); } else - throw new BeanRuntimeException(SchemaProperty.class, "Invalid attribute type ''{0}'' passed in. Must be one of the following: Boolean, Schema", additionalProperties.getClass().getName()); + throw new BeanRuntimeException(SchemaProperty.class, + "Invalid attribute type ''{0}'' passed in. Must be one of the following: Boolean, Schema", + additionalProperties.getClass().getName()); } return this; } @@ -1098,7 +1139,11 @@ public class Schema { @Override /* PojoSwap */ public Object unswap(BeanSession session, Object o, ClassMeta<?> hint) throws ParseException { - ClassMeta<?> cm = (o instanceof Boolean ? session.getClassMeta(Boolean.class) : session.getClassMeta(Schema.class)); + ClassMeta<?> cm = ( + o instanceof Boolean + ? session.getClassMeta(Boolean.class) + : session.getClassMeta(Schema.class) + ); return session.convertToType(o, cm); } } @@ -1362,9 +1407,9 @@ public class Schema { } /** * If this schema is a reference to another schema (i.e. has its <property>$ref</property> property set), - * this method will retrieve the referenced schema from the schema map registered with this schema. + * this method will retrieve the referenced schema from the schema map registered with this schema. * If this schema is not a reference, or no schema map is registered with this schema, this method - * is a no-op and simply returns this object. + * is a no-op and simply returns this object. * * @return The referenced schema, or <jk>null</jk>. */ @@ -1376,7 +1421,7 @@ public class Schema { /** * Associates a schema map with this schema for resolving other schemas identified - * through <property>$ref</property> properties. + * through <property>$ref</property> properties. * * @param schemaMap The schema map to associate with this schema. Can be <jk>null</jk>. * @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/jsonschema/SchemaArray.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaArray.java b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaArray.java index a40d0a0..8153307 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaArray.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaArray.java @@ -20,9 +20,11 @@ import java.util.*; * * <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.JsonSchema'>JSON-Schema</a> + * <li class='sublink'><a class='doclink' + * href='../../../../../overview-summary.html#DTOs.JsonSchema'>JSON-Schema</a> * </ul> * <li class='jp'><a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.jsonschema</a> * </ul> @@ -46,8 +48,7 @@ public class SchemaArray extends LinkedList<Schema> { } /** - * Convenience method for adding one or more {@link Schema} objects to - * this array. + * Convenience method for adding one or more {@link Schema} objects to this array. * * @param schemas The {@link Schema} objects to add to this array. * @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/jsonschema/SchemaMap.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaMap.java b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaMap.java index 98a06f5..1c9c38d 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaMap.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaMap.java @@ -31,9 +31,11 @@ import org.apache.juneau.json.*; * * <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.JsonSchema'>JSON-Schema</a> + * <li class='sublink'><a class='doclink' + * href='../../../../../overview-summary.html#DTOs.JsonSchema'>JSON-Schema</a> * </ul> * <li class='jp'><a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.jsonschema</a> * </ul> @@ -72,7 +74,7 @@ public abstract class SchemaMap extends ConcurrentHashMap<URI,Schema> { } /** - * Convenience method for prepopulating this map with the specified schemas. + * Convenience method for pre-populating this map with the specified schemas. * <p> * The schemas passed in through this method MUST have their ID properties set. * @@ -95,7 +97,8 @@ public abstract class SchemaMap extends ConcurrentHashMap<URI,Schema> { * It's up to the implementer to decide where these come from. * <p> * The default implementation calls {@link #getReader(URI)} and parses the schema document. - * If {@link #getReader(URI)} returns <jk>null</jk>, this method returns <jk>null</jk> indicating this is an unreachable document. + * If {@link #getReader(URI)} returns <jk>null</jk>, this method returns <jk>null</jk> indicating this is an + * unreachable document. * * @param uri The URI to load the schema from. * @return The parsed schema. http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaProperty.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaProperty.java b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaProperty.java index fa3963d..4a84cbd 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaProperty.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaProperty.java @@ -18,9 +18,11 @@ package org.apache.juneau.dto.jsonschema; * * <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.JsonSchema'>JSON-Schema</a> + * <li class='sublink'><a class='doclink' + * href='../../../../../overview-summary.html#DTOs.JsonSchema'>JSON-Schema</a> * </ul> * <li class='jp'><a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.jsonschema</a> * </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaPropertySimpleArray.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaPropertySimpleArray.java b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaPropertySimpleArray.java index 52ae162..b1c6d53 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaPropertySimpleArray.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaPropertySimpleArray.java @@ -27,9 +27,11 @@ package org.apache.juneau.dto.jsonschema; * * <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.JsonSchema'>JSON-Schema</a> + * <li class='sublink'><a class='doclink' + * href='../../../../../overview-summary.html#DTOs.JsonSchema'>JSON-Schema</a> * </ul> * <li class='jp'><a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.jsonschema</a> * </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/5c4762ee/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaRef.java ---------------------------------------------------------------------- diff --git a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaRef.java b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaRef.java index ef1a8e1..cc02fe8 100644 --- a/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaRef.java +++ b/juneau-core/src/main/java/org/apache/juneau/dto/jsonschema/SchemaRef.java @@ -27,9 +27,11 @@ import org.apache.juneau.*; * * <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.JsonSchema'>JSON-Schema</a> + * <li class='sublink'><a class='doclink' + * href='../../../../../overview-summary.html#DTOs.JsonSchema'>JSON-Schema</a> * </ul> * <li class='jp'><a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.jsonschema</a> * </ul>
