code: public static String parseToHtmlHexadecimal(
      String input,
      final FitzpatrickAction fitzpatrickAction
    ) {
      EmojiTransformer emojiTransformer = new EmojiTransformer() {
        public String transform(UnicodeCandidate unicodeCandidate) {
          switch (fitzpatrickAction) {
            default:
            case PARSE:
            case REMOVE:
              return unicodeCandidate.getEmoji().getHtmlHexadecimal();
            case IGNORE:
              return unicodeCandidate.getEmoji().getHtmlHexadecimal() +
                unicodeCandidate.getFitzpatrickUnicode();
          }
        }
      };
  
      return parseFromUnicode(input, emojiTransformer);
    }
docs: Replaces the emoji's unicode occurrences by their html hex
  representation.<br>
  Example: <code>👦</code> will be replaced by <code>&amp;#x1f466;</code><br>
  <br>
  When a fitzpatrick modifier is present with a PARSE or REMOVE action, the
  modifier will be deleted.<br>
  Example: <code>👦🏿</code> will be replaced by
  <code>&amp;#x1f466;</code><br>
  <br>
  When a fitzpatrick modifier is present with a IGNORE action, the modifier
  will be ignored and will remain in the string.<br>
  Example: <code>👦🏿</code> will be replaced by
  <code>&amp;#x1f466;🏿</code>
  
  @param input             the string to parse
  @param fitzpatrickAction the action to apply for the fitzpatrick modifiers
  
  @return the string with the emojis replaced by their html hex
  representation.