Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated)
11g Release 1 (11.1.1)

B32476-04

oracle.toplink.platform.xml
Class XMLComparer

java.lang.Object
  extended by oracle.toplink.platform.xml.XMLComparer

public class XMLComparer
extends java.lang.Object

This class is used to compare if two DOM nodes are equal.


Constructor Summary
XMLComparer()
           
 
Method Summary
 boolean isNodeEqual(org.w3c.dom.Node control, org.w3c.dom.Node test)
          Compare two DOM nodes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLComparer

public XMLComparer()
Method Detail

isNodeEqual

public boolean isNodeEqual(org.w3c.dom.Node control,
                           org.w3c.dom.Node test)
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.

Copyright © 1998, 2012, Oracle. All Rights Reserved.