Class XmlUtils


  • final class XmlUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean compareXmls​(java.io.InputStream xml1, java.io.InputStream xml2)  
      static org.w3c.dom.Document initNewXmlDocument()  
      static void writeXmlDocToStream​(org.w3c.dom.Document xmlReport, java.io.OutputStream stream)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlUtils

        XmlUtils()
    • Method Detail

      • writeXmlDocToStream

        public static void writeXmlDocToStream​(org.w3c.dom.Document xmlReport,
                                               java.io.OutputStream stream)
                                        throws javax.xml.transform.TransformerException
        Throws:
        javax.xml.transform.TransformerException
      • compareXmls

        public static boolean compareXmls​(java.io.InputStream xml1,
                                          java.io.InputStream xml2)
                                   throws javax.xml.parsers.ParserConfigurationException,
                                          org.xml.sax.SAXException,
                                          java.io.IOException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        java.io.IOException
      • initNewXmlDocument

        public static org.w3c.dom.Document initNewXmlDocument()
                                                       throws javax.xml.parsers.ParserConfigurationException
        Throws:
        javax.xml.parsers.ParserConfigurationException