Class UnEscapeHtml

  • All Implemented Interfaces:
    Function

    public class UnEscapeHtml
    extends AbstractFunction
    Function to unescape a string containing entity escapes to a string containing the actual Unicode characters corresponding to the escapes. Supports HTML 4.0 entities.

    For example, the string "&lt;Fran&ccedil;ais&gt;" will become "<Français>"

    If an entity is unrecognized, it is left alone, and inserted verbatim into the result string. e.g. "&gt;&zzzz;x" will become ">&zzzz;x".

    Since:
    2.3.3
    See Also:
    org.apache.commons.lang3.StringEscapeUtils#unescapeHtml4(String)
    • Constructor Detail

      • UnEscapeHtml

        public UnEscapeHtml()
    • Method Detail

      • getArgumentDesc

        public List<String> getArgumentDesc()
        Return a list of strings briefly describing each parameter your function takes. Please use JMeterUtils.getResString(resource_name) to grab a resource string. Otherwise, your help text will be difficult to internationalize. This list is not optional. If you don't wish to write help, you must at least return a List containing the correct number of blank strings, one for each argument.
        Returns:
        List with brief descriptions for each parameter the function takes