Class XmlEscapeHelper


  • public class XmlEscapeHelper
    extends Object
    Helper which can apply XML escaping to a string
    • Constructor Detail

      • XmlEscapeHelper

        public XmlEscapeHelper()
    • Method Detail

      • escape

        public static String escape​(String text)
        Apply XML escaping to a String. Invalid characters in XML 1.0 are ignored.
        Parameters:
        text - text to be escaped
        Returns:
        escaped text