Class Param
The param element defines parameters for an object element. It provides configuration data to the embedded content, such as Flash applications or other plugins. The name attribute specifies the parameter name, and the value attribute provides the parameter value.
Examples:
The following convenience methods are provided for constructing instances of this bean:
See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.bean.html5.HtmlElement
accesskey, attr, attrUri, class_, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, id, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, self, setAttrs, spellcheck, style, tabindex, title, toString, translate
-
Constructor Details
-
Param
public Param()Creates an emptyParamelement. -
Param
- Parameters:
name- Thename(String)attribute. Can benull to unset the attribute.value- Thevalue(Object)attribute. Can benull to unset the attribute.
-
-
Method Details
-
name
name attribute.Specifies the name of the parameter. This name is used by the parent object element to identify the parameter and its associated value.
The name should be meaningful and correspond to the expected parameter name for the embedded content.
- Parameters:
value- The name of the parameter. Can benull to unset the attribute.- Returns:
- This object.
-
value
value attribute.Value of parameter.
-