Class XMLComparer
java.lang.Object
org.eclipse.persistence.platform.xml.XMLComparer
This class is used to compare if two DOM nodes are equal.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAttributeEqual(Attr control, Attr test) booleanbooleanisNodeEqual(Node control, Node test) Compare two DOM nodes.voidsetIgnoreOrder(boolean ignoreOrder)  
- 
Constructor Details
- 
XMLComparer
public XMLComparer() 
 - 
 - 
Method Details
- 
isNodeEqual
Compare two DOM nodes.- Parameters:
 control- The first node in the comparison.test- The second node in the comparison.- Returns:
 - Return true if the nodes are equal, else false.
 
 - 
isAttributeEqual
 - 
isIgnoreOrder
public boolean isIgnoreOrder() - 
setIgnoreOrder
public void setIgnoreOrder(boolean ignoreOrder)  
 -