Class Blockquote
java.lang.Object
io.mindspice.simplypages.core.HtmlTag
io.mindspice.simplypages.components.Blockquote
- All Implemented Interfaces:
Component
Quoted-text block with optional citation and source footer.
Mutable and not thread-safe. Quote metadata is stored on this instance and read at render time. Mutate within a request-scoped flow. For reuse, stop mutating and render as a stable structure with per-request slot/context values.
-
Field Summary
Fields inherited from class HtmlTag
attributes, children, id, innerText, innerTextSlot, selfClosing, tagName, trustedHtml -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockquoteReturns children to render, in order.withCitation(String citation) Alias forHtmlTag.addClass(String).withSource(String source) Methods inherited from class HtmlTag
addClass, addStyle, addTrustedStyle, getId, hxDelete, hxGet, hxInclude, hxPatch, hxPost, hxPushUrl, hxPut, hxScrollTargetTop, hxSwap, hxTarget, hxTrigger, render, withAttribute, withChild, withId, withInnerText, withInnerText, withMaxWidth, withMinWidth, withUnsafeHtml, withWidth
-
Constructor Details
-
Blockquote
-
-
Method Details
-
create
-
withCitation
-
withSource
-
withClass
Description copied from class:HtmlTagAlias forHtmlTag.addClass(String). -
getChildrenStream
Description copied from class:HtmlTagReturns children to render, in order.Extension point: subclasses may override to filter/reorder children.
- Overrides:
getChildrenStreamin classHtmlTag
-