Enum Class CustomChatChannelMessageFormatElement
java.lang.Object
java.lang.Enum<CustomChatChannelMessageFormatElement>
com.novomind.ecom.api.iagent.messenger.connector.CustomChatChannelMessageFormatElement
- All Implemented Interfaces:
Serializable,Comparable<CustomChatChannelMessageFormatElement>,Constable
public enum CustomChatChannelMessageFormatElement
extends Enum<CustomChatChannelMessageFormatElement>
Represents a formatting element that is supported by a CustomChatChannel.
In case of HTML as chosen CustomChatChannelMessageFormat the following element to tag mappings hold:
| Format Element | HTML Tag |
|---|---|
| bold | <b>, <strong> |
| italic | <i>, <em> |
| strikethrough | <s> |
- Since:
- 12.20
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBold text formatting (mapped to<b>/<strong>in HTML).Italic text formatting (mapped to<i>/<em>in HTML).Strikethrough text formatting (mapped to<s>in HTML). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOLD
Bold text formatting (mapped to<b>/<strong>in HTML). -
ITALIC
Italic text formatting (mapped to<i>/<em>in HTML). -
STRIKETHROUGH
Strikethrough text formatting (mapped to<s>in HTML).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-