Class XMLSanitizer

java.lang.Object
net.adoptopenjdk.icedteaweb.xmlparser.XMLSanitizer

class XMLSanitizer extends Object
  • Constructor Details

    • XMLSanitizer

      XMLSanitizer()
  • Method Details

    • sanitizeXml

      static String sanitizeXml(Reader in)
      Reads an xml file and removes the comments, leaving only relevant xml code.
      Parameters:
      in - The reader of the containing the xml.
      Returns:
      A new reader for the sanitized xml