Class DOMCompareUtils

java.lang.Object
com._1c.g5.v8.dt.common.DOMCompareUtils

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

    • DOMCompareUtils

      public DOMCompareUtils()
  • Method Details

    • equals

      public static String equals(Document etalon, Document document)
      Checks, is the specified document equals to the etalon.
      Parameters:
      document - - document for the check
      etalon - - etalone document
      Returns:
      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)