Package org.apache.juneau.dto.html5
Class Form
java.lang.Object
org.apache.juneau.dto.html5.HtmlElement
org.apache.juneau.dto.html5.HtmlElementMixed
org.apache.juneau.dto.html5.Form
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclass attribute.final Form
acceptcharset
(String acceptcharset) accept-charset attribute.accesskey attribute.final Form
action attribute.final Form
autocomplete
(String autocomplete) autocomplete attribute.Adds a child element to this element.Adds one or more child elements to this element.contenteditable
(Object contenteditable) contenteditable attribute.dir attribute.final Form
enctype attribute.hidden attribute.id attribute.lang attribute.final Form
method attribute.final Form
name attribute.final Form
novalidate
(Boolean novalidate) novalidate attribute.onabort attribute.onblur attribute.oncancel attribute.oncanplay attribute.oncanplaythrough
(String oncanplaythrough) oncanplaythrough attribute.onchange attribute.onclick attribute.oncuechange
(String oncuechange) oncuechange attribute.ondblclick
(String ondblclick) ondblclick attribute.ondurationchange
(String ondurationchange) ondurationchange attribute.onemptied attribute.onended attribute.onerror attribute.onfocus attribute.oninput attribute.oninvalid attribute.onkeydown attribute.onkeypress
(String onkeypress) onkeypress attribute.onkeyup attribute.onload attribute.onloadeddata
(String onloadeddata) onloadeddata attribute.onloadedmetadata
(String onloadedmetadata) onloadedmetadata attribute.onloadstart
(String onloadstart) onloadstart attribute.onmousedown
(String onmousedown) onmousedown attribute.onmouseenter
(String onmouseenter) onmouseenter attribute.onmouseleave
(String onmouseleave) onmouseleave attribute.onmousemove
(String onmousemove) onmousemove attribute.onmouseout
(String onmouseout) onmouseout attribute.onmouseover
(String onmouseover) onmouseover attribute.onmouseup attribute.onmousewheel
(String onmousewheel) onmousewheel attribute.onpause attribute.onplay attribute.onplaying attribute.onprogress
(String onprogress) onprogress attribute.onratechange
(String onratechange) onratechange attribute.onreset attribute.onresize attribute.onscroll attribute.onseeked attribute.onseeking attribute.onselect attribute.onshow attribute.onstalled attribute.onsubmit attribute.onsuspend attribute.ontimeupdate
(String ontimeupdate) ontimeupdate attribute.ontoggle attribute.onvolumechange
(String onvolumechange) onvolumechange attribute.onwaiting attribute.spellcheck
(Object spellcheck) spellcheck attribute.style attribute.tabindex attribute.final Form
target attribute.title attribute.translate attribute.Methods inherited from class org.apache.juneau.dto.html5.HtmlElementMixed
getChild, getChild, getChild, getChildren, setChildren
Methods inherited from class org.apache.juneau.dto.html5.HtmlElement
attr, attrUri, deminimize, getAttr, getAttr, getAttrs, setAttrs, toString
-
Constructor Details
-
Form
public Form()Creates an emptyForm
element. -
Form
Creates aForm
element with the specifiedaction(String)
attribute.- Parameters:
action
- Theaction(String)
attribute.
-
Form
Creates anForm
element with the specifiedaction(String)
attribute and child nodes.- Parameters:
action
- Theaction(String)
attribute.children
- The child nodes.
-
-
Method Details
-
acceptcharset
accept-charset attribute.Character encodings to use for form submission.
- Parameters:
acceptcharset
- The new value for this attribute.- Returns:
- This object.
-
action
action attribute.URL to use for form submission.
The value can be of any of the following types:
URI
,URL
,String
. Strings must be valid URIs.URIs defined by
UriResolver
can be used for values.- Parameters:
action
- The new value for this attribute.- Returns:
- This object.
-
autocomplete
autocomplete attribute.Default setting for auto-fill feature for controls in the form.
- Parameters:
autocomplete
- The new value for this attribute.- Returns:
- This object.
-
enctype
enctype attribute.Form data set encoding type to use for form submission.
- Parameters:
enctype
- The new value for this attribute.- Returns:
- This object.
-
method
method attribute.HTTP method to use for form submission.
- Parameters:
method
- The new value for this attribute.- Returns:
- This object.
-
name
name attribute.Name of form to use in the document.forms API.
- Parameters:
name
- The new value for this attribute.- Returns:
- This object.
-
novalidate
novalidate attribute.Bypass form control validation for form submission.
-
target
target attribute.Browsing context for form submission.
- Parameters:
target
- The new value for this attribute.- Returns:
- This object.
-
_class
Description copied from class:HtmlElement
class attribute.- Overrides:
_class
in classHtmlElementMixed
- Parameters:
_class
- The new value for this attribute.- Returns:
- This object.
-
accesskey
Description copied from class:HtmlElement
accesskey attribute.- Overrides:
accesskey
in classHtmlElementMixed
- Parameters:
accesskey
- The new value for this attribute.- Returns:
- This object.
-
contenteditable
Description copied from class:HtmlElement
contenteditable attribute.- Overrides:
contenteditable
in classHtmlElementMixed
- Parameters:
contenteditable
- The new value for this attribute. Typically aBoolean
orString
.- Returns:
- This object.
-
dir
Description copied from class:HtmlElement
dir attribute.- Overrides:
dir
in classHtmlElementMixed
- Parameters:
dir
- The new value for this attribute.- Returns:
- This object.
-
id
Description copied from class:HtmlElement
id attribute.- Overrides:
id
in classHtmlElementMixed
- Parameters:
id
- The new value for this attribute.- Returns:
- This object.
-
lang
Description copied from class:HtmlElement
lang attribute.- Overrides:
lang
in classHtmlElementMixed
- Parameters:
lang
- The new value for this attribute.- Returns:
- This object.
-
onabort
Description copied from class:HtmlElement
onabort attribute.- Overrides:
onabort
in classHtmlElementMixed
- Parameters:
onabort
- The new value for this attribute.- Returns:
- This object.
-
onblur
Description copied from class:HtmlElement
onblur attribute.- Overrides:
onblur
in classHtmlElementMixed
- Parameters:
onblur
- The new value for this attribute.- Returns:
- This object.
-
oncancel
Description copied from class:HtmlElement
oncancel attribute.- Overrides:
oncancel
in classHtmlElementMixed
- Parameters:
oncancel
- The new value for this attribute.- Returns:
- This object.
-
oncanplay
Description copied from class:HtmlElement
oncanplay attribute.- Overrides:
oncanplay
in classHtmlElementMixed
- Parameters:
oncanplay
- The new value for this attribute.- Returns:
- This object.
-
oncanplaythrough
Description copied from class:HtmlElement
oncanplaythrough attribute.- Overrides:
oncanplaythrough
in classHtmlElementMixed
- Parameters:
oncanplaythrough
- The new value for this attribute.- Returns:
- This object.
-
onchange
Description copied from class:HtmlElement
onchange attribute.- Overrides:
onchange
in classHtmlElementMixed
- Parameters:
onchange
- The new value for this attribute.- Returns:
- This object.
-
onclick
Description copied from class:HtmlElement
onclick attribute.- Overrides:
onclick
in classHtmlElementMixed
- Parameters:
onclick
- The new value for this attribute.- Returns:
- This object.
-
oncuechange
Description copied from class:HtmlElement
oncuechange attribute.- Overrides:
oncuechange
in classHtmlElementMixed
- Parameters:
oncuechange
- The new value for this attribute.- Returns:
- This object.
-
ondblclick
Description copied from class:HtmlElement
ondblclick attribute.- Overrides:
ondblclick
in classHtmlElementMixed
- Parameters:
ondblclick
- The new value for this attribute.- Returns:
- This object.
-
ondurationchange
Description copied from class:HtmlElement
ondurationchange attribute.- Overrides:
ondurationchange
in classHtmlElementMixed
- Parameters:
ondurationchange
- The new value for this attribute.- Returns:
- This object.
-
onemptied
Description copied from class:HtmlElement
onemptied attribute.- Overrides:
onemptied
in classHtmlElementMixed
- Parameters:
onemptied
- The new value for this attribute.- Returns:
- This object.
-
onended
Description copied from class:HtmlElement
onended attribute.- Overrides:
onended
in classHtmlElementMixed
- Parameters:
onended
- The new value for this attribute.- Returns:
- This object.
-
onerror
Description copied from class:HtmlElement
onerror attribute.- Overrides:
onerror
in classHtmlElementMixed
- Parameters:
onerror
- The new value for this attribute.- Returns:
- This object.
-
onfocus
Description copied from class:HtmlElement
onfocus attribute.- Overrides:
onfocus
in classHtmlElementMixed
- Parameters:
onfocus
- The new value for this attribute.- Returns:
- This object.
-
oninput
Description copied from class:HtmlElement
oninput attribute.- Overrides:
oninput
in classHtmlElementMixed
- Parameters:
oninput
- The new value for this attribute.- Returns:
- This object.
-
oninvalid
Description copied from class:HtmlElement
oninvalid attribute.- Overrides:
oninvalid
in classHtmlElementMixed
- Parameters:
oninvalid
- The new value for this attribute.- Returns:
- This object.
-
onkeydown
Description copied from class:HtmlElement
onkeydown attribute.- Overrides:
onkeydown
in classHtmlElementMixed
- Parameters:
onkeydown
- The new value for this attribute.- Returns:
- This object.
-
onkeypress
Description copied from class:HtmlElement
onkeypress attribute.- Overrides:
onkeypress
in classHtmlElementMixed
- Parameters:
onkeypress
- The new value for this attribute.- Returns:
- This object.
-
onkeyup
Description copied from class:HtmlElement
onkeyup attribute.- Overrides:
onkeyup
in classHtmlElementMixed
- Parameters:
onkeyup
- The new value for this attribute.- Returns:
- This object.
-
onload
Description copied from class:HtmlElement
onload attribute.- Overrides:
onload
in classHtmlElementMixed
- Parameters:
onload
- The new value for this attribute.- Returns:
- This object.
-
onloadeddata
Description copied from class:HtmlElement
onloadeddata attribute.- Overrides:
onloadeddata
in classHtmlElementMixed
- Parameters:
onloadeddata
- The new value for this attribute.- Returns:
- This object.
-
onloadedmetadata
Description copied from class:HtmlElement
onloadedmetadata attribute.- Overrides:
onloadedmetadata
in classHtmlElementMixed
- Parameters:
onloadedmetadata
- The new value for this attribute.- Returns:
- This object.
-
onloadstart
Description copied from class:HtmlElement
onloadstart attribute.- Overrides:
onloadstart
in classHtmlElementMixed
- Parameters:
onloadstart
- The new value for this attribute.- Returns:
- This object.
-
onmousedown
Description copied from class:HtmlElement
onmousedown attribute.- Overrides:
onmousedown
in classHtmlElementMixed
- Parameters:
onmousedown
- The new value for this attribute.- Returns:
- This object.
-
onmouseenter
Description copied from class:HtmlElement
onmouseenter attribute.- Overrides:
onmouseenter
in classHtmlElementMixed
- Parameters:
onmouseenter
- The new value for this attribute.- Returns:
- This object.
-
onmouseleave
Description copied from class:HtmlElement
onmouseleave attribute.- Overrides:
onmouseleave
in classHtmlElementMixed
- Parameters:
onmouseleave
- The new value for this attribute.- Returns:
- This object.
-
onmousemove
Description copied from class:HtmlElement
onmousemove attribute.- Overrides:
onmousemove
in classHtmlElementMixed
- Parameters:
onmousemove
- The new value for this attribute.- Returns:
- This object.
-
onmouseout
Description copied from class:HtmlElement
onmouseout attribute.- Overrides:
onmouseout
in classHtmlElementMixed
- Parameters:
onmouseout
- The new value for this attribute.- Returns:
- This object.
-
onmouseover
Description copied from class:HtmlElement
onmouseover attribute.- Overrides:
onmouseover
in classHtmlElementMixed
- Parameters:
onmouseover
- The new value for this attribute.- Returns:
- This object.
-
onmouseup
Description copied from class:HtmlElement
onmouseup attribute.- Overrides:
onmouseup
in classHtmlElementMixed
- Parameters:
onmouseup
- The new value for this attribute.- Returns:
- This object.
-
onmousewheel
Description copied from class:HtmlElement
onmousewheel attribute.- Overrides:
onmousewheel
in classHtmlElementMixed
- Parameters:
onmousewheel
- The new value for this attribute.- Returns:
- This object.
-
onpause
Description copied from class:HtmlElement
onpause attribute.- Overrides:
onpause
in classHtmlElementMixed
- Parameters:
onpause
- The new value for this attribute.- Returns:
- This object.
-
onplay
Description copied from class:HtmlElement
onplay attribute.- Overrides:
onplay
in classHtmlElementMixed
- Parameters:
onplay
- The new value for this attribute.- Returns:
- This object.
-
onplaying
Description copied from class:HtmlElement
onplaying attribute.- Overrides:
onplaying
in classHtmlElementMixed
- Parameters:
onplaying
- The new value for this attribute.- Returns:
- This object.
-
onprogress
Description copied from class:HtmlElement
onprogress attribute.- Overrides:
onprogress
in classHtmlElementMixed
- Parameters:
onprogress
- The new value for this attribute.- Returns:
- This object.
-
onratechange
Description copied from class:HtmlElement
onratechange attribute.- Overrides:
onratechange
in classHtmlElementMixed
- Parameters:
onratechange
- The new value for this attribute.- Returns:
- This object.
-
onreset
Description copied from class:HtmlElement
onreset attribute.- Overrides:
onreset
in classHtmlElementMixed
- Parameters:
onreset
- The new value for this attribute.- Returns:
- This object.
-
onresize
Description copied from class:HtmlElement
onresize attribute.- Overrides:
onresize
in classHtmlElementMixed
- Parameters:
onresize
- The new value for this attribute.- Returns:
- This object.
-
onscroll
Description copied from class:HtmlElement
onscroll attribute.- Overrides:
onscroll
in classHtmlElementMixed
- Parameters:
onscroll
- The new value for this attribute.- Returns:
- This object.
-
onseeked
Description copied from class:HtmlElement
onseeked attribute.- Overrides:
onseeked
in classHtmlElementMixed
- Parameters:
onseeked
- The new value for this attribute.- Returns:
- This object.
-
onseeking
Description copied from class:HtmlElement
onseeking attribute.- Overrides:
onseeking
in classHtmlElementMixed
- Parameters:
onseeking
- The new value for this attribute.- Returns:
- This object.
-
onselect
Description copied from class:HtmlElement
onselect attribute.- Overrides:
onselect
in classHtmlElementMixed
- Parameters:
onselect
- The new value for this attribute.- Returns:
- This object.
-
onshow
Description copied from class:HtmlElement
onshow attribute.- Overrides:
onshow
in classHtmlElementMixed
- Parameters:
onshow
- The new value for this attribute.- Returns:
- This object.
-
onstalled
Description copied from class:HtmlElement
onstalled attribute.- Overrides:
onstalled
in classHtmlElementMixed
- Parameters:
onstalled
- The new value for this attribute.- Returns:
- This object.
-
onsubmit
Description copied from class:HtmlElement
onsubmit attribute.- Overrides:
onsubmit
in classHtmlElementMixed
- Parameters:
onsubmit
- The new value for this attribute.- Returns:
- This object.
-
onsuspend
Description copied from class:HtmlElement
onsuspend attribute.- Overrides:
onsuspend
in classHtmlElementMixed
- Parameters:
onsuspend
- The new value for this attribute.- Returns:
- This object.
-
ontimeupdate
Description copied from class:HtmlElement
ontimeupdate attribute.- Overrides:
ontimeupdate
in classHtmlElementMixed
- Parameters:
ontimeupdate
- The new value for this attribute.- Returns:
- This object.
-
ontoggle
Description copied from class:HtmlElement
ontoggle attribute.- Overrides:
ontoggle
in classHtmlElementMixed
- Parameters:
ontoggle
- The new value for this attribute.- Returns:
- This object.
-
onvolumechange
Description copied from class:HtmlElement
onvolumechange attribute.- Overrides:
onvolumechange
in classHtmlElementMixed
- Parameters:
onvolumechange
- The new value for this attribute.- Returns:
- This object.
-
onwaiting
Description copied from class:HtmlElement
onwaiting attribute.- Overrides:
onwaiting
in classHtmlElementMixed
- Parameters:
onwaiting
- The new value for this attribute.- Returns:
- This object.
-
spellcheck
Description copied from class:HtmlElement
spellcheck attribute.- Overrides:
spellcheck
in classHtmlElementMixed
- Parameters:
spellcheck
- The new value for this attribute. Typically aBoolean
orString
.- Returns:
- This object.
-
style
Description copied from class:HtmlElement
style attribute.- Overrides:
style
in classHtmlElementMixed
- Parameters:
style
- The new value for this attribute.- Returns:
- This object.
-
tabindex
Description copied from class:HtmlElement
tabindex attribute.- Overrides:
tabindex
in classHtmlElementMixed
- Parameters:
tabindex
- The new value for this attribute. Typically aNumber
orString
.- Returns:
- This object.
-
title
Description copied from class:HtmlElement
title attribute.- Overrides:
title
in classHtmlElementMixed
- Parameters:
title
- The new value for this attribute.- Returns:
- This object.
-
translate
Description copied from class:HtmlElement
translate attribute.- Overrides:
translate
in classHtmlElementMixed
- Parameters:
translate
- The new value for this attribute. Typically aNumber
orString
.- Returns:
- This object.
-
child
Description copied from class:HtmlElementMixed
Adds a child element to this element.- Overrides:
child
in classHtmlElementMixed
- Parameters:
child
- The child to add as a child element. Can be a string orHtmlElement
. Can also be a container of strings and elements.- Returns:
- This object.
-
children
Description copied from class:HtmlElementMixed
Adds one or more child elements to this element.- Overrides:
children
in classHtmlElementMixed
- Parameters:
children
- The children to add as child elements. Can be a mixture of strings andHtmlElement
objects. Can also be containers of strings and elements.- Returns:
- This object.
-