@ProviderType
public interface RichTextBuilder
| Modifier and Type | Method and Description |
|---|---|
@NotNull RichText |
build()
Build formatted markup and return metadata object containing results.
|
@NotNull Collection<org.jdom2.Content> |
buildContent()
Build formatted markup as DOM elements.
|
@Nullable String |
buildMarkup()
Build formatted markup string.
|
@NotNull RichTextBuilder |
mediaArgs(io.wcm.handler.media.MediaArgs mediaArgs)
Set media arguments to be applied when resolving inline images.
|
@NotNull RichTextBuilder |
textMode(TextMode textMode)
Set in which text mode the raw text should be interpreded.
|
@NotNull RichTextBuilder |
urlMode(io.wcm.handler.url.UrlMode urlMode)
Set URL mode to be applied for building URLs for inline links and inline images.
|
@NotNull @NotNull RichTextBuilder textMode(TextMode textMode)
textMode - Text mode@NotNull @NotNull RichTextBuilder mediaArgs(io.wcm.handler.media.MediaArgs mediaArgs)
mediaArgs - Media arguments@NotNull @NotNull RichTextBuilder urlMode(io.wcm.handler.url.UrlMode urlMode)
urlMode - URL mode@NotNull @NotNull RichText build()
@Nullable @Nullable String buildMarkup()
@NotNull @NotNull Collection<org.jdom2.Content> buildContent()
Copyright © 2014–2019 wcm.io. All rights reserved.