Class DOMCompareUtils

  • public class DOMCompareUtils
    extends Object
    Comparator of the XML documents.
    • Constructor Detail

      • DOMCompareUtils

        public DOMCompareUtils()
    • Method Detail

      • equals

        public static String equals​(Document etalon,
                                    Document document)
        Checks, is the specified document equals to the etalon.
        document - - document for the check
        etalon - - etalone document
        the error message in case the specified document not equals to the etalon and null otherwise
      • getContent

        public static String getContent​(Node node)
      • getChild

        public static Node getChild​(Node parent,
                                    int type)