@ProviderType public final class RichTextRequest extends Object
| Constructor and Description |
|---|
RichTextRequest(@Nullable org.apache.sling.api.resource.Resource resource,
@Nullable String text,
@Nullable io.wcm.handler.url.UrlMode urlMode,
@Nullable TextMode textMode,
@Nullable io.wcm.handler.media.MediaArgs mediaArgs) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable io.wcm.handler.media.MediaArgs |
getMediaArgs() |
@Nullable org.apache.sling.api.resource.Resource |
getResource() |
@NotNull org.apache.sling.api.resource.ValueMap |
getResourceProperties() |
@Nullable String |
getText() |
@Nullable TextMode |
getTextMode() |
@Nullable io.wcm.handler.url.UrlMode |
getUrlMode() |
String |
toString() |
public RichTextRequest(@Nullable
@Nullable org.apache.sling.api.resource.Resource resource,
@Nullable
@Nullable String text,
@Nullable
@Nullable io.wcm.handler.url.UrlMode urlMode,
@Nullable
@Nullable TextMode textMode,
@Nullable
@Nullable io.wcm.handler.media.MediaArgs mediaArgs)
resource - Resource containing rich texttext - Raw rich texturlMode - URL modetextMode - Text modemediaArgs - Media arguments@Nullable public @Nullable org.apache.sling.api.resource.Resource getResource()
@Nullable public @Nullable String getText()
@Nullable public @Nullable io.wcm.handler.url.UrlMode getUrlMode()
@Nullable public @Nullable TextMode getTextMode()
@Nullable public @Nullable io.wcm.handler.media.MediaArgs getMediaArgs()
@NotNull public @NotNull org.apache.sling.api.resource.ValueMap getResourceProperties()
Copyright © 2014–2019 wcm.io. All rights reserved.