C - Concrete configurator typepublic interface HasHtmlTextConfigurator<C extends HasHtmlTextConfigurator<C>>
HasText type components which can support HTML markup.| Modifier and Type | Method and Description |
|---|---|
C |
htmlText(com.holonplatform.core.i18n.Localizable text)
Sets the text content using a
Localizable message, with HTML markup support. |
default C |
htmlText(String text)
Sets the text content with HTML markup support, replacing any previous content.
|
default C |
htmlText(String defaultText,
String messageCode,
Object... arguments)
Sets the text content with HTML markup support, using a localizable
messageCode. |
C htmlText(com.holonplatform.core.i18n.Localizable text)
Localizable message, with HTML markup support.
Care should be taken when using HTML text mode to avoid Cross-site Scripting (XSS) issues.
A null value is interpreted as an empty text.
text - Localizable text content message (may be null)default C htmlText(String text)
Care should be taken when using HTML text mode to avoid Cross-site Scripting (XSS) issues.
A null text value is interpreted as an empty text.
text - The text content to set, with HTML markup supportdefault C htmlText(String defaultText, String messageCode, Object... arguments)
messageCode.
Care should be taken when using HTML text mode to avoid Cross-site Scripting (XSS) issues.
defaultText - Default text content if no translation is available for given messageCode.messageCode - Text translation message keyarguments - Optional translation argumentsCopyright © 2019 The Holon Platform. All rights reserved.