Package com._1c.g5.v8.dt.common
Class DOMCompareUtils
- java.lang.Object
-
- com._1c.g5.v8.dt.common.DOMCompareUtils
-
public class DOMCompareUtils extends Object
Comparator of the XML documents.
-
-
Constructor Summary
Constructors Constructor Description DOMCompareUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringequals(Document etalon, Document document)Checks, is the specifieddocumentequals to theetalon.static NodegetChild(Node parent, int type)static StringgetContent(Node node)
-
-
-
Method Detail
-
equals
public static String equals(Document etalon, Document document)
Checks, is the specifieddocumentequals to theetalon.- Parameters:
document- - document for the checketalon- - etalone document- Returns:
- the error message in case the specified
documentnot equals to theetalonandnullotherwise
-
-