Class Blockquote
The blockquote element represents a section that is quoted from another source. It is typically rendered as an indented block of text to distinguish it from the surrounding content. The cite attribute can be used to provide a link to the source of the quotation.
Examples:
The following convenience methods are provided for constructing instances of this bean:
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an emptyBlockquoteelement.Blockquote(Object... children) Creates aBlockquoteelement with the specified child nodes. -
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
-
Blockquote
public Blockquote()Creates an emptyBlockquoteelement. -
Blockquote
Creates aBlockquoteelement with the specified child nodes.- Parameters:
children- The child nodes. Must not benull .
-
-
Method Details
-
cite
cite attribute.Specifies the URL of the source document or message from which the quotation was taken. This provides context and attribution for the quoted content.
The URL should point to the original source of the quoted material.
- Parameters:
value- The URL of the source document for the quotation. Can benull to unset the attribute.- Returns:
- This object.
-