Class Del
The del element represents text that has been deleted from a document. It is typically rendered with a strikethrough effect to indicate that the content has been removed. The cite and datetime attributes can be used to provide information about when and why the deletion occurred.
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
-
Del
public Del()Creates an emptyDelelement. -
Del
Creates aDelelement with the specifiedHtmlElementMixed.children(Object[])node.- Parameters:
children- TheHtmlElementMixed.children(Object[])node. Must not benull .
-
-
Method Details
-
cite
cite attribute.Specifies the URL of a document that explains the reason for the deletion. This provides context and justification for the edit.
The URL should point to a document that explains why the content was deleted.
- Parameters:
value- The URL explaining the reason for the deletion. Can benull to unset the attribute.- Returns:
- This object.
-
datetime
datetime attribute.Specifies the date and time when the content was deleted. Used for tracking the history of document changes.
The value should be a valid date-time string in ISO 8601 format.
- Parameters:
value- The date and time when the content was deleted. Can benull to unset the attribute.- Returns:
- This object.
-