|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gridsystems.GridXMLComparer
GridXMLComparator
public class GridXMLComparer
"Logical" comparator for XML trees.
This class implements a "relaxed" comparison between two XML documents. Starting from the document root elements, a recursive comparison is performed for each pair of nodes, using the following criteria to determine their equivalency:
<field>
<value>123</value>
</field>
<field><value>123</value><field>
| Constructor Summary | |
|---|---|
GridXMLComparer()
Deprecated. Creates an instance. |
|
| Method Summary | |
|---|---|
boolean |
compareXMLs(java.io.Reader xml1,
java.io.Reader xml2)
Deprecated. Logically compares two XML documents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridXMLComparer()
| Method Detail |
|---|
public boolean compareXMLs(java.io.Reader xml1,
java.io.Reader xml2)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
xml1 - First document to comparexml2 - Second document to compare
org.xml.sax.SAXException - If a syntax error is found in one of the XML trees
java.io.IOException - If an I/O error occurs reading the sources
javax.xml.parsers.ParserConfigurationException - If the builder cannot be instantiated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||