Class Data
The data element represents its contents, along with a machine-readable form of those contents in the value attribute. It is used to provide both human-readable and machine-readable versions of the same data, making it easier for scripts and other automated systems to process the information while still displaying meaningful content to users. The value attribute should contain the machine-readable version of the data.
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.HtmlElementMixed
child, children, getChild, getChild, getChild, getChildren, setChildrenMethods 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
-
Data
public Data()Creates an emptyDataelement. -
Data
Creates aDataelement with the specifiedvalue(Object)attribute and child node.- Parameters:
value- Thevalue(Object)attribute. Can benull to unset the attribute.child- The child node. Can benull (anull entry is added to the children list).
-
-
Method Details