Class XMLUtil

java.lang.Object
com.lowagie.text.xml.XMLUtil

public class XMLUtil extends Object
  • Constructor Details

    • XMLUtil

      public XMLUtil()
  • Method Details

    • escapeXML

      public static String escapeXML(String s, boolean onlyASCII)
      Escapes a string with the appropriated XML codes.
      Parameters:
      s - the string to be escaped
      onlyASCII - codes above 127 will always be escaped with &#nn; if true
      Returns:
      the escaped string