Class StringEscapeUtils

java.lang.Object
org.apache.cxf.transport.commons_text.StringEscapeUtils

public final class StringEscapeUtils extends Object

Escapes and unescapes Strings for Java, Java Script, HTML and XML.

#ThreadSafe#

This code has been adapted from Apache Commons Lang 3.5.

Since:
1.0
  • Field Details

    • ESCAPE_HTML4

      public static final org.apache.cxf.transport.commons_text.CharSequenceTranslator ESCAPE_HTML4
      Translator object for escaping HTML version 4.0. While escapeHtml4(String) is the expected method of use, this object allows the HTML escaping functionality to be used as the foundation for a custom translator.
  • Method Details