Class TagUtil


  • public class TagUtil
    extends Object
    Author:
    Yohann Chastagnier
    • Method Detail

      • formatHrefFromAction

        public static String formatHrefFromAction​(String action)
        Centralizes all the possibilities about the conversion of action into href.
        Parameters:
        action - the action.
        Returns:
        the formatted href.
      • formatForDomId

        public static String formatForDomId​(Object value)
        Centralizes the formatting of a string value in order to get a dom id compatible value.
        Parameters:
        value - any kind of value.
        Returns:
        a dom id compatible value.