Class EmojiNode
- java.lang.Object
-
- org.commonmark.node.Node
-
- org.commonmark.node.CustomNode
-
- org.symphonyoss.symphony.messageml.markdown.nodes.EmojiNode
-
- All Implemented Interfaces:
org.commonmark.node.Delimited
public class EmojiNode extends org.commonmark.node.CustomNode implements org.commonmark.node.DelimitedClass representing a Markdown node for emojis.- Since:
- 10/10/17
- Author:
- cristiadu
-
-
Field Summary
Fields Modifier and Type Field Description static charDELIMITER
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaccept(org.commonmark.node.Visitor visitor)StringgetAnnotation()Deprecated.StringgetClosingDelimiter()StringgetOpeningDelimiter()StringgetShortcode()voidsetAnnotation(String name)Deprecated.voidsetShortcode(String shortcode)
-
-
-
Field Detail
-
DELIMITER
public static final char DELIMITER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EmojiNode
public EmojiNode(String shortcode)
-
EmojiNode
public EmojiNode()
-
-
Method Detail
-
getOpeningDelimiter
public String getOpeningDelimiter()
- Specified by:
getOpeningDelimiterin interfaceorg.commonmark.node.Delimited
-
getClosingDelimiter
public String getClosingDelimiter()
- Specified by:
getClosingDelimiterin interfaceorg.commonmark.node.Delimited
-
accept
public void accept(org.commonmark.node.Visitor visitor)
- Overrides:
acceptin classorg.commonmark.node.CustomNode
-
getShortcode
public String getShortcode()
-
setShortcode
public void setShortcode(String shortcode)
-
getAnnotation
@Deprecated public String getAnnotation()
Deprecated.It is deprecated, use getShortcode() instead- Returns:
- annotation
-
setAnnotation
@Deprecated public void setAnnotation(String name)
Deprecated.It is deprecated, use setShortcode() instead- Parameters:
name-
-
-