Class EmojiNode

  • All Implemented Interfaces:
    org.commonmark.node.Delimited

    public class EmojiNode
    extends org.commonmark.node.CustomNode
    implements org.commonmark.node.Delimited
    Class representing a Markdown node for emojis.
    Since:
    10/10/17
    Author:
    cristiadu
    • Constructor Detail

      • EmojiNode

        public EmojiNode​(String shortcode)
      • EmojiNode

        public EmojiNode()
    • Method Detail

      • getOpeningDelimiter

        public String getOpeningDelimiter()
        Specified by:
        getOpeningDelimiter in interface org.commonmark.node.Delimited
      • getClosingDelimiter

        public String getClosingDelimiter()
        Specified by:
        getClosingDelimiter in interface org.commonmark.node.Delimited
      • accept

        public void accept​(org.commonmark.node.Visitor visitor)
        Overrides:
        accept in class org.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 -