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 String
equals(Document etalon, Document document)
Checks, is the specifieddocument
equals to theetalon
.static Node
getChild(Node parent, int type)
static String
getContent(Node node)
-
-
-
Method Detail
-
equals
public static String equals(Document etalon, Document document)
Checks, is the specifieddocument
equals to theetalon
.- Parameters:
document
- - document for the checketalon
- - etalone document- Returns:
- the error message in case the specified
document
not equals to theetalon
andnull
otherwise
-
-