Class EscapeHtml

  • All Implemented Interfaces:
    Function

    public class EscapeHtml
    extends AbstractFunction

    Function which escapes the characters in a String using HTML entities.

    For example:

    "bread" & "butter"

    becomes:

    "bread" & "butter".

    Supports all known HTML 4.0 entities. Note that the commonly used apostrophe escape character (') is not a legal entity and so is not supported).

    Since:
    2.3.3
    See Also:
    (Commons Lang)
    • Constructor Detail

      • EscapeHtml

        public EscapeHtml()
    • 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